Browse Source

Update asymmetric debounce code comment (#22981)

pull/22994/head 0.23.8
フィルターペーパー 2 months ago
committed by GitHub
parent
commit
0a6a203fb5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      quantum/debounce/asym_eager_defer_pk.c

+ 3
- 2
quantum/debounce/asym_eager_defer_pk.c View File

@ -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"


Loading…
Cancel
Save