Skip to content

Commit

Permalink
kbscan: Reduce debounce time from 15ms to 5ms
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
crawfxrd authored and jackpot51 committed Jul 17, 2023
1 parent 1fded3f commit e093952
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 @@ -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
Expand Down

0 comments on commit e093952

Please sign in to comment.