summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorDylan Khor <khord@simspace.com>2017-03-16 13:07:01 -0400
committerDylan Khor <khord@simspace.com>2017-03-16 13:07:01 -0400
commit6ca1c49d38ddc31c5fc9ef1c180849804fe358fd (patch)
treeac8d511a4aef576de2eb3a4d011898a86f77f1b1 /keyboards
parent0c8f71e3c7fe258e6e084d7eec018b89a499d014 (diff)
test fixes for tap dane
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/planck/keymaps/khord/config.h2
-rw-r--r--keyboards/planck/keymaps/khord/keymap.c21
2 files changed, 11 insertions, 12 deletions
diff --git a/keyboards/planck/keymaps/khord/config.h b/keyboards/planck/keymaps/khord/config.h
index 76a1f88322..008f3a5c2c 100644
--- a/keyboards/planck/keymaps/khord/config.h
+++ b/keyboards/planck/keymaps/khord/config.h
@@ -63,7 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
)
/* Tap Dance */
-#define TAPPING_TERM 200
+#define TAPPING_TERM 150
/*
* Feature disable options
diff --git a/keyboards/planck/keymaps/khord/keymap.c b/keyboards/planck/keymaps/khord/keymap.c
index 04b95c7447..50a5daa577 100644
--- a/keyboards/planck/keymaps/khord/keymap.c
+++ b/keyboards/planck/keymaps/khord/keymap.c
@@ -33,22 +33,15 @@ enum planck_keycodes {
EXT_PLV
};
+// Fillers to make layering more clear
+#define _______ KC_TRNS
+#define XXXXXXX KC_NO
+
// Tap Dance Declarations
enum {
TD_ESC_CAPS = 0
};
-// Tap Dance Definitions
-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)
- // Other declarations would go here, separated by commas, if you have them
-};
-
-// Fillers to make layering more clear
-#define _______ KC_TRNS
-#define XXXXXXX KC_NO
-
// Dylan's additions
#define C_A_DEL LALT(LCTL(KC_DEL))
#define C_A_INS LALT(LCTL(KC_INS))
@@ -328,3 +321,9 @@ 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)
+};