diff options
author | Dylan Khor <khord@simspace.com> | 2017-03-16 13:07:01 -0400 |
---|---|---|
committer | Dylan Khor <khord@simspace.com> | 2017-03-16 13:07:01 -0400 |
commit | 6ca1c49d38ddc31c5fc9ef1c180849804fe358fd (patch) | |
tree | ac8d511a4aef576de2eb3a4d011898a86f77f1b1 | |
parent | 0c8f71e3c7fe258e6e084d7eec018b89a499d014 (diff) | |
download | qmk_firmware-6ca1c49d38ddc31c5fc9ef1c180849804fe358fd.tar.gz qmk_firmware-6ca1c49d38ddc31c5fc9ef1c180849804fe358fd.zip |
test fixes for tap dane
-rw-r--r-- | keyboards/planck/keymaps/khord/config.h | 2 | ||||
-rw-r--r-- | keyboards/planck/keymaps/khord/keymap.c | 21 |
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) +}; |