diff options
author | フィルターペーパー <[email protected]> | 2024-01-31 11:34:45 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-30 19:34:45 -0800 |
commit | 0a6a203fb58f316b09b7e661fae0b7188685db08 (patch) | |
tree | 233861bd31a179c417c96c888662cb0f67925f6e /quantum/debounce | |
parent | 18f8e51cb785a985954ba0d6ee0cfdea93a13d95 (diff) | |
download | qmk_firmware-0a6a203fb58f316b09b7e661fae0b7188685db08.tar.gz qmk_firmware-0a6a203fb58f316b09b7e661fae0b7188685db08.zip |
Update asymmetric debounce code comment (#22981)0.23.8
Diffstat (limited to 'quantum/debounce')
-rw-r--r-- | quantum/debounce/asym_eager_defer_pk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/quantum/debounce/asym_eager_defer_pk.c b/quantum/debounce/asym_eager_defer_pk.c index 954d43536c..b6fcdc3d4e 100644 --- a/quantum/debounce/asym_eager_defer_pk.c +++ b/quantum/debounce/asym_eager_defer_pk.c @@ -18,8 +18,9 @@ */ /* -Basic symmetric per-key algorithm. Uses an 8-bit counter per key. -When no state changes have occured for DEBOUNCE milliseconds, we push the state. +Asymetric per-key algorithm. After pressing a key, it immediately changes state, +with no further inputs accepted until DEBOUNCE milliseconds have occurred. After +releasing a key, that state is pushed after no changes occur for DEBOUNCE milliseconds. */ #include "debounce.h" |