diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-17 00:14:40 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 14:14:40 +0100 |
commit | 74223c34a969c0877bde035c721c21a1f25890fa (patch) | |
tree | 1daea9db13a0adb529e5aba4aa1e6f893cb7ed8c /users/gordon/gordon.c | |
parent | 39c22f5cf5011427ece26c510d0b1ab42edf34db (diff) |
Remove legacy keycodes, part 6 (#18740)
* `KC_RSHIFT` -> `KC_RSFT`
* `KC_RCTRL` -> `KC_RCTL`
* `KC_LSHIFT` -> `KC_LSFT`
* `KC_LCTRL` -> `KC_LCTL`
Diffstat (limited to 'users/gordon/gordon.c')
-rw-r--r-- | users/gordon/gordon.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/users/gordon/gordon.c b/users/gordon/gordon.c index 3115e1c328..cc9f3a2599 100644 --- a/users/gordon/gordon.c +++ b/users/gordon/gordon.c @@ -60,12 +60,12 @@ void unregister_shift_f6 (void) { void register_ctrl_shift (void) { register_code (KC_LSFT); - register_code (KC_LCTRL); + register_code (KC_LCTL); } void unregister_ctrl_shift (void) { unregister_code (KC_LSFT); - unregister_code (KC_LCTRL); + unregister_code (KC_LCTL); } void register_alt_shift (void) { @@ -177,8 +177,8 @@ void tab_finished (qk_tap_dance_state_t *state, void *user_data) { case SINGLE_HOLD: register_ctrl_shift(); break; case DOUBLE_HOLD: register_alt_shift(); break; //alt shift on single hold case DOUBLE_TAP: register_code(KC_TAB); unregister_code(KC_TAB); register_code(KC_TAB); break; //tab tab - case TRIPLE_TAP: register_code(KC_LSHIFT) ;register_code(KC_ESC); break; - case TRIPLE_HOLD: register_code(KC_LSHIFT); register_code(KC_LGUI); break; + case TRIPLE_TAP: register_code(KC_LSFT) ;register_code(KC_ESC); break; + case TRIPLE_HOLD: register_code(KC_LSFT); register_code(KC_LGUI); break; } } @@ -188,8 +188,8 @@ void tab_reset (qk_tap_dance_state_t *state, void *user_data) { case DOUBLE_HOLD: unregister_alt_shift(); break; //let go of alt shift case DOUBLE_TAP: unregister_code(KC_TAB); break; case SINGLE_HOLD: unregister_ctrl_shift(); break; - case TRIPLE_TAP: unregister_code(KC_LSHIFT); unregister_code(KC_ESC); break; - case TRIPLE_HOLD: unregister_code(KC_LSHIFT); unregister_code(KC_LGUI); break; + case TRIPLE_TAP: unregister_code(KC_LSFT); unregister_code(KC_ESC); break; + case TRIPLE_HOLD: unregister_code(KC_LSFT); unregister_code(KC_LGUI); break; } tab_state.state = 0; } |