Skip to content

Commit

Permalink
[Keymap] Change DEBOUNCE_TYPE to sym_eager_pk to reduce latency (#19153)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebrait authored Dec 4, 2022
1 parent 004ca55 commit f32070b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions keyboards/gmmk/pro/rev1/ansi/keymaps/andrebrait/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,22 @@

# Disabling MouseKey because it breaks my KVM switch
MOUSEKEY_ENABLE = no

# Cherry MX-style switches and diodes are not susceptible to noise, no need for noise-resistant algorithms.
# This significantly reduces latency.
#
# The matrix scan frequency seems to be around 1820 Hz, so even sym_defer_g would perform ok,
# but the "defer" part would mean we would wait DEBOUNCE ms before sending any events.
# Using "asym_eager_defer_pk" does not seem to benefit us in anything.
# The GMMK Pro has more then enough system resources for a per-key algorithm.
# Using an "eager" algorithm leads to extremely low latency while also reducing the chances of chattering
# due to it's "post-event" debouncing (of sorts).
#
# I have observed zero chattering or double-keypress issues on my Gateron Yellow switches.
# Most chattering issues on the GMMK Pro seem to be related to its proprietary hot-swap sockets anyway.
DEBOUNCE_TYPE = sym_eager_pk

# Useful for debugging
# CONSOLE_ENABLE = yes
# DEBUG_MATRIX_SCAN_RATE_ENABLE = yes
# DEBUG_MATRIX_SCAN_RATE = yes

0 comments on commit f32070b

Please sign in to comment.