diff options
author | Gergely Nagy <algernon@madhouse-project.org> | 2016-07-20 11:34:45 +0200 |
---|---|---|
committer | Gergely Nagy <algernon@madhouse-project.org> | 2016-07-22 09:10:17 +0200 |
commit | ce8cc9219fca5dde077f1142d03d011b38d27479 (patch) | |
tree | 01991fe739a7fd2702e010f0132033672a5d9d45 /keyboards/planck/rev4/Makefile | |
parent | 70e42489dec375e558d8e81ed5ebfb69b4f3dbd9 (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 'keyboards/planck/rev4/Makefile')
0 files changed, 0 insertions, 0 deletions