diff options
Diffstat (limited to 'users/gordon')
-rw-r--r-- | users/gordon/gordon.c | 16 | ||||
-rw-r--r-- | users/gordon/gordon.h | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/users/gordon/gordon.c b/users/gordon/gordon.c index 3115e1c328..c31418b526 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; } @@ -387,8 +387,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { case SPRK_TCK: SEND_STRING ("```"); - SEND_STRING (SS_DOWN(X_LSHIFT) SS_TAP(X_ENTER) SS_UP(X_LSHIFT)); - SEND_STRING (SS_DOWN(X_LSHIFT) SS_TAP(X_ENTER) SS_UP(X_LSHIFT)); + SEND_STRING (SS_DOWN(X_LSFT) SS_TAP(X_ENTER) SS_UP(X_LSFT)); + SEND_STRING (SS_DOWN(X_LSFT) SS_TAP(X_ENTER) SS_UP(X_LSFT)); SEND_STRING ("```"); SEND_STRING (SS_TAP(X_UP)); return false; break; diff --git a/users/gordon/gordon.h b/users/gordon/gordon.h index 49b4f0569f..c6bd6e10b5 100644 --- a/users/gordon/gordon.h +++ b/users/gordon/gordon.h @@ -12,11 +12,11 @@ // KC codes that are too long #define DOLLAR KC_DOLLAR -#define LSQUIGLY KC_LBRACKET -#define RSQUIGLY KC_RBRACKET -#define NUMLOCK KC_NUMLOCK -#define CAPLOCK KC_CAPSLOCK -#define BK_SLASH KC_BSLASH +#define LSQUIGLY KC_LBRC +#define RSQUIGLY KC_RBRC +#define NUMLOCK KC_NUM_LOCK +#define CAPLOCK KC_CAPS_LOCK +#define BK_SLASH KC_BACKSLASH #define ASTERSK KC_KP_ASTERISK // Navigation @@ -57,8 +57,8 @@ #define NAV_E LT(_NAV,KC_E) #define NUMPAD_D LT(_NUMPAD,KC_D) #define MOUSE_C LT(_MOUSE,KC_C) -#define SYMB_BSP LT(_SYMBOLS,KC_BSPACE) -#define COL_MOUS LT(_MOUSE,KC_SCOLON) +#define SYMB_BSP LT(_SYMBOLS,KC_BACKSPACE) +#define COL_MOUS LT(_MOUSE,KC_SEMICOLON) #define SPAC_SYM LT(_SYMBOLS,KC_SPACE) #define SPAC_TXT LT(_TEXTNAV,KC_SPACE) @@ -80,7 +80,7 @@ #define ALT_SH_R MT(MOD_LSFT|MOD_LALT,KC_R) //MISC -#define PRINTSCR KC_PSCREEN +#define PRINTSCR KC_PRINT_SCREEN #define CALTDEL LCTL(LALT(KC_DEL)) #define TSKMGR LCTL(LSFT(KC_ESC)) |