summaryrefslogtreecommitdiffstats
path: root/keyboards/xiudi/xd75/keymaps/tdl-jturner
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/xiudi/xd75/keymaps/tdl-jturner
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/xiudi/xd75/keymaps/tdl-jturner')
-rw-r--r--keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c b/keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c
index 8510a2d3ca..55f554f86b 100644
--- a/keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c
+++ b/keyboards/xiudi/xd75/keymaps/tdl-jturner/keymap.c
@@ -239,10 +239,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
if (keyboard_report->mods & shift) {
if (keyboard_report->mods & MOD_BIT(KC_LSFT)) {
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LEFT_SHIFT);
}
else {
- unregister_code(KC_RSHIFT);
+ unregister_code(KC_RIGHT_SHIFT);
}
register_code(KC_DEL);
}
@@ -260,10 +260,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
if (keyboard_report->mods & shift) {
if (keyboard_report->mods & MOD_BIT(KC_LSFT)) {
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LEFT_SHIFT);
}
else {
- unregister_code(KC_RSHIFT);
+ unregister_code(KC_RIGHT_SHIFT);
}
register_code(KC_BACKSLASH);
}