aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dylan Khor <khord@simspace.com>2017-03-16 13:27:26 -0400
committerGravatar Dylan Khor <khord@simspace.com>2017-03-16 13:27:26 -0400
commitc7cddfc539f111baeff51a2f7e6272701e0f0109 (patch)
tree1a4f9dd4615d86448ae9914af930f8303cce2217
parent6ca1c49d38ddc31c5fc9ef1c180849804fe358fd (diff)
downloadqmk_firmware-c7cddfc539f111baeff51a2f7e6272701e0f0109.tar.gz
test td changes
-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 666161d1f..f0ed9e8dc 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 50a5daa57..52467641a 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)
-};