diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-06-15 12:33:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 12:33:44 -0400 |
commit | be9fd4b4faf7d60c1bad1bf2115e2ff65e9dc727 (patch) | |
tree | 8c5ea60718e24d180184663350ad784fa6580f5e /keyboards/planck/keymaps/dshields/config.h | |
parent | 49cfdb544d65005d2779b19d91432b6cbd278722 (diff) | |
parent | cc158d90aeb9f95aa29591baed921bbb7fc82400 (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.h | 2 |
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 |