diff options
| author | Ryan <fauxpark@gmail.com> | 2022-10-11 06:06:26 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-10 20:06:26 +0100 |
| commit | c6f1b594a2085e67219bd5f0f7ba7898429d331c (patch) | |
| tree | 615d8b6253c8c07beda12676f8cdbdcf2fa837a9 /keyboards/redscarf_iiplus | |
| parent | c87bc929086d41daf804c10d02ec7ee1fca61a4a (diff) | |
Remove legacy keycodes, part 2 (#18660)
* `KC_SYSREQ` -> `KC_SYRQ`
And one `KC_ALT_ERASE` -> `KC_ERAS`
* `KC_NONUS_BSLASH` -> `KC_NUBS`
* `KC_NUMLOCK` -> `KC_NUM`
* `KC_CLCK` -> `KC_CAPS`
* `KC_SCROLLLOCK` -> `KC_SCRL`
* `KC_LBRACKET` -> `KC_LBRC`
* `KC_RBRACKET` -> `KC_RBRC`
* `KC_CAPSLOCK` -> `KC_CAPS`
Diffstat (limited to 'keyboards/redscarf_iiplus')
| -rw-r--r-- | keyboards/redscarf_iiplus/verd/keymaps/alittlepeace/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/redscarf_iiplus/verd/keymaps/alittlepeace/keymap.c b/keyboards/redscarf_iiplus/verd/keymaps/alittlepeace/keymap.c index df26eec6cc..4dd8115c3d 100644 --- a/keyboards/redscarf_iiplus/verd/keymaps/alittlepeace/keymap.c +++ b/keyboards/redscarf_iiplus/verd/keymaps/alittlepeace/keymap.c | |||
| @@ -56,7 +56,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 56 | break; | 56 | break; |
| 57 | case TG(1): | 57 | case TG(1): |
| 58 | if (record->event.pressed) { | 58 | if (record->event.pressed) { |
| 59 | tap_code(KC_NUMLOCK); | 59 | tap_code(KC_NUM_LOCK); |
| 60 | return true; | 60 | return true; |
| 61 | } | 61 | } |
| 62 | break; | 62 | break; |
| @@ -67,7 +67,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 67 | 67 | ||
| 68 | void matrix_init_user (void) { | 68 | void matrix_init_user (void) { |
| 69 | if (!host_keyboard_led_state ().num_lock) { | 69 | if (!host_keyboard_led_state ().num_lock) { |
| 70 | tap_code(KC_NUMLOCK); | 70 | tap_code(KC_NUM_LOCK); |
| 71 | } | 71 | } |
| 72 | } | 72 | } |
| 73 | 73 | ||
