kbscan: Reduce debounce time from 15ms to 5ms

Allows increased typing speed while avoiding repeating keys due to
contact bounce and keys being rejected by ghost key detection.

This is the default value for QMK.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2023-07-17 12:40:33 -06:00
committed by Jeremy Soller
parent 1fded3f7bf
commit e093952dd2

View File

@ -58,7 +58,7 @@ void kbscan_init(void) {
}
// Debounce time in milliseconds
#define DEBOUNCE_DELAY 15
#define DEBOUNCE_DELAY 5
static uint8_t kbscan_get_row(uint8_t i) {
// Report all keys as released when lid is closed