Skip to content

Commit

Permalink
kbscan: Increase debounce time from 10ms to 20ms
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
uSpike committed Jan 19, 2024
1 parent 4b86176 commit d296e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/board/system76/common/kbscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#endif // KM_NKEY

// Debounce time in milliseconds
#define DEBOUNCE_DELAY 10
#define DEBOUNCE_DELAY 20

bool kbscan_fn_held = false;
bool kbscan_esc_held = false;
Expand Down

0 comments on commit d296e62

Please sign in to comment.