Преглед изворни кода

[Keyboard] Macropad v2 polling rate fix (#13129)

Sergey Omelchenko пре 3 година
родитељ
комит
74c9c3e9c2
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      keyboards/geekboards/macropad_v2/config.h

+ 3 - 0
keyboards/geekboards/macropad_v2/config.h

@@ -69,6 +69,7 @@
 
 #define RGB_DISABLE_WHEN_USB_SUSPENDED true
 #define WAIT_FOR_USB
+#define USB_POLLING_INTERVAL_MS 1
 
 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
 #define DEBOUNCE 3
@@ -76,3 +77,5 @@
 /* Bootmagic Lite key configuration */
 #define BOOTMAGIC_LITE_ROW 0
 #define BOOTMAGIC_LITE_COLUMN 0
+
+#define TAP_CODE_DELAY 10