소스 검색
Merge pull request #1 from Artturin/universal-vibrator-file
vibrator: use stable vibrator_file
master
Dejvino
3 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
1개의 추가작업 그리고
1개의 파일을 삭제
-
src/vibrate.c
|
|
@@ -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() |
|
|
|
{ |
|
|
|