summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/ez/config.h
AgeCommit message (Collapse)Author
2017-04-26Change to per-key eager debouncing for ErgoDox EZ.Andrew Pritchard
Empirically, waiting for N consecutive identical scans as a debouncing strategy doesn't work very well for the ErgoDox EZ where scans are very slow compared to most keyboards. Instead, debounce the signals by eagerly reporting a change as soon as one scan observes it, but then ignoring further changes from that key for the next N scans. This is implemented by keeping an extra matrix of uint8 countdowns, such that only keys whose countdown is currently zero are eligible to change. When we do observe a change, we bump that key's countdown to DEBOUNCE. During each scan, every nonzero countdown is decremented. With this approach to debouncing, much higher debounce constants are tolerable, because latency does not increase with the constant, and debounce countdowns on one key do not interfere with events on other keys. The only negative effect of increasing the constant is that the minimum duration of a keypress increases. Perhaps I'm just extremely unlucky w.r.t. key switch quality, but I saw occasional bounces even with DEBOUNCE=10; with 15, I've seen none so far. That's around 47ms, which seems like an absolutely insane amount of time for a key to be bouncy, but at least it works.
2017-04-03disables space cadet rolloverErez Zukerman
2017-01-23turn off rgb_midi in ezJack Humbert
2017-01-02Update config.hJack Humbert
2016-12-19Merge branch 'master' of github.com:jackhumbert/qmk_firmwareJack Humbert
2016-12-19rgb clean-up, api clean-upJack Humbert
2016-12-14Allow power consumption to be set per-keyboard.Kyle Smith
2016-11-29guess i didnt pullJack Humbert
2016-11-29Merge branch 'wu5y7' of github.com:jackhumbert/qmk_firmware into wu5y7Jack Humbert
2016-11-29enable rgblight by default for ezJack Humbert
2016-11-28Pulls LED config into common config for EZErez Zukerman
2016-11-21fix infinityJack Humbert
2016-07-29Fix config.h include guardsFred Sundvik
2016-07-29Move some of the Ergodox config settings to sharedFred Sundvik
2016-07-29Initial structure for Ergodox as subprojectsFred Sundvik
Only the EZ default keymaps compiles at the moment though.