summaryrefslogtreecommitdiff
path: root/vim-clutch.ino
Commit message (Collapse)AuthorAge
* Commit working codeHEADmasterDavid Phillips2020-10-04
Emulates a two-key keyboard, with each key being activated on alternate edges of the input line. I.e. one keypress+release emulated when the switch is pressed, and a different keypress+release when they switch is released. The input is polled with a naive software loop, and debounced with a simple settling state machine to help fight off false triggers.