aboutsummaryrefslogtreecommitdiffstats
path: root/lib/chibios
diff options
context:
space:
mode:
authorGravatar Gergely Nagy <algernon@madhouse-project.org>2016-07-20 10:22:52 +0200
committerGravatar Gergely Nagy <algernon@madhouse-project.org>2016-07-22 09:10:17 +0200
commit70e42489dec375e558d8e81ed5ebfb69b4f3dbd9 (patch)
treee420a956ac4a09848eb5df5a766861cfbaca8de5 /lib/chibios
parent8e1d96983aad19b3e4e72ece5db822e92d91342b (diff)
downloadqmk_firmware-70e42489dec375e558d8e81ed5ebfb69b4f3dbd9.tar.gz
tap-dance: Support for holding keys
With this change, tap dance will now store the pressed state of the tap-dance key, and allow one to make an action sooner, while the key is still held, and only unregister when the key is released. The registration must happen in the `on_dance_finished` callback, while unregistering goes to `on_reset`. The surrounding code makes sure not to call either multiple times. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'lib/chibios')
0 files changed, 0 insertions, 0 deletions