From c922fc2cf35b4a45b673fa5343a9a96fc05a7856 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 20 Apr 2021 19:08:29 +0200 Subject: =?UTF-8?q?[Keyboard]=20kint2pp:=20reduce=20input=20latency=20by?= =?UTF-8?q?=20=E2=89=8810ms=20(#12625)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyboards/kinesis/kint2pp/config.h | 4 ++++ keyboards/kinesis/kint2pp/rules.mk | 3 +++ 2 files changed, 7 insertions(+) (limited to 'keyboards/kinesis') 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 -- cgit v1.2.3