summaryrefslogtreecommitdiff
path: root/keyboards/donutcables/scrabblepad/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/donutcables/scrabblepad/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/donutcables/scrabblepad/keymaps')
-rw-r--r--keyboards/donutcables/scrabblepad/keymaps/random/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/donutcables/scrabblepad/keymaps/random/keymap.c b/keyboards/donutcables/scrabblepad/keymaps/random/keymap.c
index 025a506188..efa6f6e717 100644
--- a/keyboards/donutcables/scrabblepad/keymaps/random/keymap.c
+++ b/keyboards/donutcables/scrabblepad/keymaps/random/keymap.c
@@ -22,12 +22,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
keystroke = random_keycode();
if (rand() % 2 > 0) {
shift_pressed = 1;
- register_code(KC_LSHIFT);
+ register_code(KC_LSFT);
}
register_code(keystroke);
} else {
if (shift_pressed > 0) {
- unregister_code(KC_LSHIFT);
+ unregister_code(KC_LSFT);
}
unregister_code(keystroke);
}