From 9df60008a2316b6bfa35345a20fbe2e281eb70be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Izzo?= Date: Fri, 18 Dec 2020 10:27:29 +0100 Subject: [PATCH] Change long press interval to half a second --- openrtx/include/interfaces/keyboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrtx/include/interfaces/keyboard.h b/openrtx/include/interfaces/keyboard.h index 8fba101f..2bc789f8 100644 --- a/openrtx/include/interfaces/keyboard.h +++ b/openrtx/include/interfaces/keyboard.h @@ -69,7 +69,7 @@ static const uint8_t kbd_num_keys = 29; /** * Time interval in ticks after which a keypress is considered a long-press */ -static const uint16_t kbd_long_interval = OS_CFG_TICK_RATE_HZ * 1; +static const uint16_t kbd_long_interval = OS_CFG_TICK_RATE_HZ / 2; /** * Structure that represents a keyboard event payload