1
0
mirror of https://github.com/Dejvino/pinephone-toolkit.git synced 2024-11-14 11:33:28 +00:00

Merge pull request #1 from Artturin/universal-vibrator-file

vibrator: use stable vibrator_file
This commit is contained in:
Dejvino 2021-03-22 17:43:21 +01:00 committed by GitHub
commit 0107cf984f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
#include <linux/input.h> #include <linux/input.h>
static char *argv0 = "./vibrate"; static char *argv0 = "./vibrate";
static char *vibrator_file = "/dev/input/event4"; static char *vibrator_file = "/dev/input/by-path/platform-vibrator-event";
void print_usage() void print_usage()
{ {