1
0
mirror of https://github.com/Dejvino/pinephone-toolkit.git synced 2024-12-21 10:58:49 +00:00

vibrator: use stable vibrator_file

This commit is contained in:
Artturin 2021-03-22 18:17:55 +02:00
parent 0deaf8473a
commit e3f46a9383

View File

@ -8,7 +8,7 @@
#include <linux/input.h>
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()
{