]> git.donarmstrong.com Git - qmk_firmware.git/commit
tap-dance: key + layer helper
authorGergely Nagy <algernon@madhouse-project.org>
Wed, 2 Aug 2017 05:49:06 +0000 (07:49 +0200)
committerJack Humbert <jack.humb@gmail.com>
Wed, 2 Aug 2017 20:06:16 +0000 (16:06 -0400)
commitd28b2c395b66d24eb15bacedb8b84c8a3828ac57
treeb8dc14f4a9716f24a255d548da4fdde1fa44c077
parentbb30ff5f71f34e638ffc0ac58b99c75c9214fe7b
tap-dance: key + layer helper

This adds the `ACTION_TAP_DANCE_DUAL_ROLE` helper, which makes it easy to have
keys that act as a key on the first tap, and as a layer toggle on the second.

Fixes #1532, reported by @Ptomerty.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
quantum/process_keycode/process_tap_dance.c
quantum/process_keycode/process_tap_dance.h