From 5eb469633b0c4d6ed2130b5e198056b6c6de732e Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Sat, 22 Feb 2020 23:35:14 +0800 Subject: [PATCH] timeout of 200ms for start and stop keys --- uinput.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uinput.c b/uinput.c index 6348804..6c597cb 100755 --- a/uinput.c +++ b/uinput.c @@ -48,7 +48,8 @@ #define UINPUT_PRINTF(...) #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 { \ perror(str); \