mirror of
https://github.com/FunKey-Project/FunKey-GPIO-Mapping.git
synced 2026-02-20 16:21:21 +01:00
timeout of 200ms for start and stop keys
This commit is contained in:
parent
e68cee9dfb
commit
5eb469633b
3
uinput.c
3
uinput.c
@ -48,7 +48,8 @@
|
|||||||
#define UINPUT_PRINTF(...)
|
#define UINPUT_PRINTF(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SLEEP_TIME_SEND_STOP_KEY_US 20*1000
|
//#define SLEEP_TIME_SEND_STOP_KEY_US 20*1000
|
||||||
|
#define SLEEP_TIME_SEND_STOP_KEY_US 200*1000
|
||||||
|
|
||||||
#define die(str, args...) do { \
|
#define die(str, args...) do { \
|
||||||
perror(str); \
|
perror(str); \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user