mirror of
https://github.com/Dejvino/pinephone-toolkit.git
synced 2024-11-23 23:13:20 +00:00
vibrator: use stable vibrator_file
This commit is contained in:
parent
0deaf8473a
commit
e3f46a9383
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user