Change long press interval to half a second

replace/eca621d410a9039c30b1bc4a5654a944334da4e3
Niccolò Izzo 2020-12-18 10:27:29 +01:00
rodzic 400a766f54
commit 9df60008a2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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