Skip to content

Commit

Permalink
[Keyboard] update debounce time on kint boards (#13351)
Browse files Browse the repository at this point in the history
related to kinx-project/kint#39
related to #12626
  • Loading branch information
stapelberg authored Jul 1, 2021
1 parent fb405c2 commit 2b8ad39
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions keyboards/kinesis/kint2pp/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@
#define LED_COMPOSE_PIN C3
#define LED_PIN_ON_STATE 0

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* Well-worn Cherry MX key switches can bounce for up to 20ms, despite the
* Cherry data sheet specifying 5ms. Because we use the sym_eager_pk debounce
* algorithm, this debounce latency only affects key releases (not key
* presses). */
#undef DEBOUNCE
#define DEBOUNCE 20

#define IGNORE_MOD_TAP_INTERRUPT

Expand Down
8 changes: 6 additions & 2 deletions keyboards/kinesis/kint36/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* Well-worn Cherry MX key switches can bounce for up to 20ms, despite the
* Cherry data sheet specifying 5ms. Because we use the sym_eager_pk debounce
* algorithm, this debounce latency only affects key releases (not key
* presses). */
#undef DEBOUNCE
#define DEBOUNCE 20

#define IGNORE_MOD_TAP_INTERRUPT

Expand Down

0 comments on commit 2b8ad39

Please sign in to comment.