summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps
diff options
context:
space:
mode:
authorDylan Khor <khord@simspace.com>2017-03-16 13:27:26 -0400
committerDylan Khor <khord@simspace.com>2017-03-16 13:27:26 -0400
commitc7cddfc539f111baeff51a2f7e6272701e0f0109 (patch)
tree1a4f9dd4615d86448ae9914af930f8303cce2217 /keyboards/planck/keymaps
parent6ca1c49d38ddc31c5fc9ef1c180849804fe358fd (diff)
test td changes
Diffstat (limited to 'keyboards/planck/keymaps')
-rw-r--r--keyboards/planck/keymaps/khord/Makefile2
-rw-r--r--keyboards/planck/keymaps/khord/keymap.c11
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/planck/keymaps/khord/Makefile b/keyboards/planck/keymaps/khord/Makefile
index 666161d1ff..f0ed9e8dcc 100644
--- a/keyboards/planck/keymaps/khord/Makefile
+++ b/keyboards/planck/keymaps/khord/Makefile
@@ -1,4 +1,4 @@
+TAP_DANCE_ENABLE = yes
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
-TAP_DANCE_ENABLE = yes
diff --git a/keyboards/planck/keymaps/khord/keymap.c b/keyboards/planck/keymaps/khord/keymap.c
index 50a5daa577..52467641a3 100644
--- a/keyboards/planck/keymaps/khord/keymap.c
+++ b/keyboards/planck/keymaps/khord/keymap.c
@@ -178,6 +178,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
+
+const qk_tap_dance_action_t tape_dance_actions[] = {
+ [TD_ESC_CAPS] = ACTION_TAP_DANCE_DOUBLE(KC_ESC, KC_CAPS)
+};
+
#ifdef AUDIO_ENABLE
float tone_startup[][2] = SONG(SONIC_RING); //plug in
@@ -321,9 +326,3 @@ void music_scale_user(void)
}
#endif
-
-// Tap Dance Definitions
-const qk_tap_dance_action_t tape_dance_actions[] = {
- //Tap once for Esc, twice for Caps Lock
- [TD_ESC_CAPS] = ACTION_TAP_DANCE_DOUBLE(KC_ESC, KC_CAPS)
-};