Browse Source

timeout of 200ms for start and stop keys

Vincent-FK 4 years ago
parent
commit
5eb469633b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      uinput.c

+ 2 - 1
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); \