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