Browse Source

[Keyboard] kint2pp: reduce input latency by ≈10ms (#12625)

Michael Stapelberg 5 years ago
parent
commit
c922fc2cf3
2 changed files with 7 additions and 0 deletions
  1. 4 0
      keyboards/kinesis/kint2pp/config.h
  2. 3 0
      keyboards/kinesis/kint2pp/rules.mk

+ 4 - 0
keyboards/kinesis/kint2pp/config.h

@@ -36,3 +36,7 @@
 #define DEBOUNCE 5
 
 #define IGNORE_MOD_TAP_INTERRUPT
+
+// Reduce input latency by lowering the USB polling interval
+// from its 10ms default to the 1ms minimum that USB 1.x (Full Speed) allows:
+#define USB_POLLING_INTERVAL_MS 1

+ 3 - 0
keyboards/kinesis/kint2pp/rules.mk

@@ -0,0 +1,3 @@
+# Debounce eagerly (report change immediately), keep per-key timers. We can use
+# this because the kinT does not have to deal with noise.
+DEBOUNCE_TYPE = sym_eager_pk