Skip to content

Commit d296e62

Browse files
committedJan 19, 2024
kbscan: Increase debounce time from 10ms to 20ms
I found that a debounce time of 10ms was causing very frequent twice-registered keys with my typing style. After setting the debounce time to 20ms I find that no repeated characters occur when typing 10 line of text. Ref: system76/firmware-open#509 Signed-off-by: Jordan Speicher <[email protected]>
1 parent 4b86176 commit d296e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/board/system76/common/kbscan.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#endif // KM_NKEY
2222

2323
// Debounce time in milliseconds
24-
#define DEBOUNCE_DELAY 10
24+
#define DEBOUNCE_DELAY 20
2525

2626
bool kbscan_fn_held = false;
2727
bool kbscan_esc_held = false;

0 commit comments

Comments
 (0)
Please sign in to comment.