From 6c80c331ce76709ea15c877f0adeedd3ca571cdb Mon Sep 17 00:00:00 2001 From: Evan Travers Date: Wed, 6 Apr 2022 17:01:15 -0500 Subject: [PATCH] Duplicate the TD on my zmk layout --- users/evantravers/evantravers.c | 3 ++- users/evantravers/evantravers.h | 4 +++- users/evantravers/wrappers.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/users/evantravers/evantravers.c b/users/evantravers/evantravers.c index c4810c1f5b2a..0111bd3f466b 100644 --- a/users/evantravers/evantravers.c +++ b/users/evantravers/evantravers.c @@ -26,7 +26,8 @@ qk_tap_dance_action_t tap_dance_actions[] = { [TD_TAB_ESC] = ACTION_TAP_DANCE_DOUBLE(KC_TAB, KC_ESC), [TD_PREV_NEXT] = ACTION_TAP_DANCE_DOUBLE(KC_MFFD, KC_MRWD), [TD_SCRNST] = ACTION_TAP_DANCE_DOUBLE(LGUI(LSFT(LCTL(KC_4))), LGUI(LSFT(KC_4))), - [TD_MUTE] = ACTION_TAP_DANCE_DOUBLE(LGUI(KC_GRV), LGUI(LSFT(KC_M))) + [TD_MUTE] = ACTION_TAP_DANCE_DOUBLE(LGUI(KC_GRV), LGUI(LSFT(KC_M))), + [TD_SPCRET] = ACTION_TAP_DANCE_DOUBLE(KC_SPC, KC_ENT) }; #ifdef AUDIO_ENABLE diff --git a/users/evantravers/evantravers.h b/users/evantravers/evantravers.h index 2922cfe72f61..d08e779a949c 100644 --- a/users/evantravers/evantravers.h +++ b/users/evantravers/evantravers.h @@ -39,6 +39,7 @@ along with this program. If not, see . #define SCRNST TD(TD_SCRNST) #define PREV_NEXT TD(TD_PREV_NEXT) #define TAB_ESC TD(TD_TAB_ESC) +#define SPCRET TD(TD_SPCRET) #define PASS LGUI(KC_BSLS) #define MUTE LSFT(LGUI(KC_M)) @@ -54,7 +55,8 @@ enum userspace_tapdances { TD_PREV_NEXT, TD_SCRNST, TD_MUTE, - TD_TAB_ESC + TD_TAB_ESC, + TD_SPCRET }; enum userspace_custom_keycodes { diff --git a/users/evantravers/wrappers.h b/users/evantravers/wrappers.h index a02c3760cfa0..0d9be570a8d3 100644 --- a/users/evantravers/wrappers.h +++ b/users/evantravers/wrappers.h @@ -72,7 +72,7 @@ #define _______________SHORTCUTS_L1________________ KC_1, KC_2, KC_3, KC_4, KC_5 // Do I really use these numbers? #define _______________SHORTCUTS_L2________________ WIN_MUTE, SCRNST, ZOOMIN, TABN, HFWD -#define _______________SHORTCUTS_L3________________ KC_SPC, KC_ENT, ZOOMOUT,TABP, HBCK +#define _______________SHORTCUTS_L3________________ SPCRET, _______, ZOOMOUT,TABP, HBCK #define _______________SHORTCUTS_R1________________ KC_BSPC, KC_7, KC_8, KC_9, PASS #define _______________SHORTCUTS_R2________________ KC_0, KC_4, KC_5, KC_6, KC_TAB