summaryrefslogtreecommitdiff
path: root/quantum/keymap.h
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2016-07-20 11:34:45 +0200
committerGergely Nagy <algernon@madhouse-project.org>2016-07-22 09:10:17 +0200
commitce8cc9219fca5dde077f1142d03d011b38d27479 (patch)
tree01991fe739a7fd2702e010f0132033672a5d9d45 /quantum/keymap.h
parent70e42489dec375e558d8e81ed5ebfb69b4f3dbd9 (diff)
tap-dance: Support user_data for the callbacks
Refactored the code a little, so all callbacks now receive a `user_data` pointer, which can be anything. As an example, the key pairs from `ACTION_TAP_DANCE_DOUBLE` now use this, and custom, built-in functions. This makes it easier to extend the tap dance functionality, and also simplifies the code a little. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'quantum/keymap.h')
0 files changed, 0 insertions, 0 deletions