Przeglądaj źródła

timeout of 200ms for start and stop keys

Vincent-FK 4 lat temu
rodzic
commit
5eb469633b
1 zmienionych plików z 2 dodań i 1 usunięć
  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); \