summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/dshields/config.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-06-15 12:33:44 -0400
committerGitHub <noreply@github.com>2017-06-15 12:33:44 -0400
commitbe9fd4b4faf7d60c1bad1bf2115e2ff65e9dc727 (patch)
tree8c5ea60718e24d180184663350ad784fa6580f5e /keyboards/planck/keymaps/dshields/config.h
parent49cfdb544d65005d2779b19d91432b6cbd278722 (diff)
parentcc158d90aeb9f95aa29591baed921bbb7fc82400 (diff)
Merge pull request #1396 from shieldsd/master
Minor updates to planck/keymaps/dshields
Diffstat (limited to 'keyboards/planck/keymaps/dshields/config.h')
-rw-r--r--keyboards/planck/keymaps/dshields/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/dshields/config.h b/keyboards/planck/keymaps/dshields/config.h
index 5f2810287b..906400adc8 100644
--- a/keyboards/planck/keymaps/dshields/config.h
+++ b/keyboards/planck/keymaps/dshields/config.h
@@ -37,6 +37,7 @@
#define TD_DOT TD(TDK_DOT)
#define TD_SLSH TD(TDK_SLSH)
+// macros
#define ACTION_TAP_DANCE_FN_KEYCODE(user_fn, kc) { \
.fn = { NULL, user_fn, NULL }, \
.user_data = (void *)&((qk_tap_dance_pair_t) { kc, 0 }) \
@@ -47,6 +48,7 @@
.user_data = (void *)&((qk_tap_dance_pair_t) { kc1, kc2 }) \
}
+#define TAP(keycode) register_code16(keycode); unregister_code16(keycode)
#endif