summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/kbd67/mkiirgb/keymaps
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-17 00:14:40 +1100
committerGitHub <noreply@github.com>2022-10-16 14:14:40 +0100
commit74223c34a969c0877bde035c721c21a1f25890fa (patch)
tree1daea9db13a0adb529e5aba4aa1e6f893cb7ed8c /keyboards/kbdfans/kbd67/mkiirgb/keymaps
parent39c22f5cf5011427ece26c510d0b1ab42edf34db (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 'keyboards/kbdfans/kbd67/mkiirgb/keymaps')
-rw-r--r--keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/keymap.c b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/keymap.c
index e01bb62ab3..8c814b86bb 100644
--- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/keymap.c
+++ b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/keymap.c
@@ -144,7 +144,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case CK_ESCG:
/* if pressed, inject key, otherwise delete it */
if (record->event.pressed) {
- bool shifted = get_mods() & MOD_BIT(KC_LSHIFT);
+ bool shifted = get_mods() & MOD_BIT(KC_LSFT);
add_key(shifted ? KC_ESC : KC_GRV);
ck_escg_last_shifted = shifted;
} else {