diff options
author | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2021-04-20 19:08:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 10:08:29 -0700 |
commit | c922fc2cf35b4a45b673fa5343a9a96fc05a7856 (patch) | |
tree | 80cb7cffbf366faf8e19b978e3498e688f47d72e /keyboards/kinesis/kint2pp | |
parent | 3d32cbb0dccf44176bfafec35dfabb451c71b9bc (diff) | |
download | qmk_firmware-c922fc2cf35b4a45b673fa5343a9a96fc05a7856.tar.gz qmk_firmware-c922fc2cf35b4a45b673fa5343a9a96fc05a7856.zip |
[Keyboard] kint2pp: reduce input latency by ≈10ms (#12625)
Diffstat (limited to 'keyboards/kinesis/kint2pp')
-rw-r--r-- | keyboards/kinesis/kint2pp/config.h | 4 | ||||
-rw-r--r-- | keyboards/kinesis/kint2pp/rules.mk | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/kinesis/kint2pp/config.h b/keyboards/kinesis/kint2pp/config.h index 902c9b24a0..ff5761b6bc 100644 --- a/keyboards/kinesis/kint2pp/config.h +++ b/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 diff --git a/keyboards/kinesis/kint2pp/rules.mk b/keyboards/kinesis/kint2pp/rules.mk index e69de29bb2..7c48a98bfc 100644 --- a/keyboards/kinesis/kint2pp/rules.mk +++ b/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 |