mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 18:04:57 +00:00
[Keyboard] update debounce time on kint boards (#13351)
related to https://github.com/kinx-project/kint/issues/39 related to https://github.com/qmk/qmk_firmware/pull/12626
This commit is contained in:
parent
fb405c27ad
commit
2b8ad391ae
2 changed files with 12 additions and 4 deletions
|
@ -32,8 +32,12 @@
|
||||||
#define LED_COMPOSE_PIN C3
|
#define LED_COMPOSE_PIN C3
|
||||||
#define LED_PIN_ON_STATE 0
|
#define LED_PIN_ON_STATE 0
|
||||||
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Well-worn Cherry MX key switches can bounce for up to 20ms, despite the
|
||||||
#define DEBOUNCE 5
|
* 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
|
#define IGNORE_MOD_TAP_INTERRUPT
|
||||||
|
|
||||||
|
|
|
@ -50,8 +50,12 @@
|
||||||
/* COL2ROW or ROW2COL */
|
/* COL2ROW or ROW2COL */
|
||||||
#define DIODE_DIRECTION COL2ROW
|
#define DIODE_DIRECTION COL2ROW
|
||||||
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Well-worn Cherry MX key switches can bounce for up to 20ms, despite the
|
||||||
#define DEBOUNCE 5
|
* 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
|
#define IGNORE_MOD_TAP_INTERRUPT
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue