1
0
mirror of https://github.com/Dejvino/pinephone-toolkit.git synced 2024-12-22 03:08:49 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Dejvino
0107cf984f
Merge pull request #1 from Artturin/universal-vibrator-file
vibrator: use stable vibrator_file
2021-03-22 17:43:21 +01:00
Artturin
e3f46a9383 vibrator: use stable vibrator_file 2021-03-22 18:17:55 +02:00

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()
{ {