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:
committed by
Jeremy Soller
parent
1097fd999a
commit
181d4c5d59
@@ -21,7 +21,7 @@
|
|||||||
#endif // KM_NKEY
|
#endif // KM_NKEY
|
||||||
|
|
||||||
// Debounce time in milliseconds
|
// Debounce time in milliseconds
|
||||||
#define DEBOUNCE_DELAY 5
|
#define DEBOUNCE_DELAY 10
|
||||||
|
|
||||||
// Deselect all columns for reading
|
// Deselect all columns for reading
|
||||||
#define KBSCAN_MATRIX_NONE 0xFF
|
#define KBSCAN_MATRIX_NONE 0xFF
|
||||||
|
Reference in New Issue
Block a user