kbscan: Increase debounce time from 5ms to 10ms

Some users are reporting that a debounce time of 5ms is not enough to
prevent keys from registering twice. Split the difference between the
old and the new debounce times and set it to 10ms.

Ref: https://github.com/system76/firmware-open/issues/471
Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2023-09-07 09:21:55 -06:00
committed by Jeremy Soller
parent 1097fd999a
commit 181d4c5d59

View File

@@ -21,7 +21,7 @@
#endif // KM_NKEY
// Debounce time in milliseconds
#define DEBOUNCE_DELAY 5
#define DEBOUNCE_DELAY 10
// Deselect all columns for reading
#define KBSCAN_MATRIX_NONE 0xFF