commit: 0a6a203fb58f316b09b7e661fae0b7188685db08
parent 18f8e51cb785a985954ba0d6ee0cfdea93a13d95
Author: フィルターペーパー <76888457+filterpaper@users.noreply.github.com>
Date: Wed, 31 Jan 2024 11:34:45 +0800
Update asymmetric debounce code comment (#22981)
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 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"