summaryrefslogtreecommitdiffstats
path: root/users/stanrc85
diff options
context:
space:
mode:
Diffstat (limited to 'users/stanrc85')
-rw-r--r--users/stanrc85/stanrc85.c5
-rw-r--r--users/stanrc85/stanrc85.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/users/stanrc85/stanrc85.c b/users/stanrc85/stanrc85.c
index bddc14d7e2..e8fc5c1dfd 100644
--- a/users/stanrc85/stanrc85.c
+++ b/users/stanrc85/stanrc85.c
@@ -5,6 +5,11 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
return true;
}
+qk_tap_dance_action_t tap_dance_actions[] = {
+ [TD_WIN] = ACTION_TAP_DANCE_DOUBLE(KC_CAD, KC_LOCK),
+ [TD_ESC] = ACTION_TAP_DANCE_DOUBLE(KC_ESC, KC_GRV)
+};
+
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case KC_MAKE:
diff --git a/users/stanrc85/stanrc85.h b/users/stanrc85/stanrc85.h
index 1d9602a05e..c0a0e87662 100644
--- a/users/stanrc85/stanrc85.h
+++ b/users/stanrc85/stanrc85.h
@@ -13,6 +13,12 @@ enum custom_keycodes {
NEW_SAFE_RANGE //use "NEW_SAFE_RANGE" for keymap specific codes
};
+//Tap Dance Declarations
+enum {
+ TD_WIN = 0,
+ TD_ESC
+};
+
//Aliases for longer keycodes
#define KC_CAD LALT(LCTL(KC_DEL))
#define KC_LOCK LGUI(KC_L)