aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Ong <the.onga@gmail.com>2019-04-04 08:45:55 +1100
committerDrashna Jaelre <drashna@live.com>2019-04-03 14:45:55 -0700
commit17e7762de7e3fdfc61c20aa61022f47370630c6a (patch)
treeacad10cdb64e24d78154c7c04de3585dece32cc3 /docs
parente1e08a494bf9ea46e1385559df76d5f49b8e9087 (diff)
downloadqmk_firmware-17e7762de7e3fdfc61c20aa61022f47370630c6a.tar.gz
qmk_firmware-17e7762de7e3fdfc61c20aa61022f47370630c6a.zip
Eager Per Row Debouncing added (added to Ergodox) (#5498)
* Implemented Eager Per Row debouncing algorithm. Good for when fingers can only press one row at a time (e.g. when keyboard is wired so that "rows" are vertical) * Added documentation for eager_pr * Ported ergodox_ez to eager_pr debouncing. * Removed check for changes in matrix_scan. * Added further clarification in docs. * Accidental merge with ergodox_ez * Small cleanup in eager_pr * Forgot to debounce_init - this would probably cause seg-faults.
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_debounce_type.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/feature_debounce_type.md b/docs/feature_debounce_type.md
index 5d4343f08..38eca3f37 100644
--- a/docs/feature_debounce_type.md
+++ b/docs/feature_debounce_type.md
@@ -33,7 +33,10 @@ The debounce code is compatible with split keyboards.
33# Changing between included debouncing methods 33# Changing between included debouncing methods
34You can either use your own code, by including your own debounce.c, or switch to another included one. 34You can either use your own code, by including your own debounce.c, or switch to another included one.
35Included debounce methods are: 35Included debounce methods are:
36* eager_pk - debouncing per key. On any state change, response is immediate, followed by ```DEBOUNCE_DELAY``` millseconds of no further input for that key 36* eager_pr - debouncing per row. On any state change, response is immediate, followed by locking the row ```DEBOUNCE_DELAY``` milliseconds of no further input for that row.
37For use in keyboards where refreshing ```NUM_KEYS``` 8-bit counters is computationally expensive / low scan rate, and fingers usually only hit one row at a time. This could be
38appropriate for the ErgoDox models; the matrix is rotated 90°, and hence its "rows" are really columns, and each finger only hits a single "row" at a time in normal use.
39* eager_pk - debouncing per key. On any state change, response is immediate, followed by ```DEBOUNCE_DELAY``` milliseconds of no further input for that key
37* sym_g - debouncing per keyboard. On any state change, a global timer is set. When ```DEBOUNCE_DELAY``` milliseconds of no changes has occured, all input changes are pushed. 40* sym_g - debouncing per keyboard. On any state change, a global timer is set. When ```DEBOUNCE_DELAY``` milliseconds of no changes has occured, all input changes are pushed.
38 41
39 42