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`
This commit is contained in:
Ryan
2022-10-11 06:06:26 +11:00
committed by GitHub
parent c87bc92908
commit c6f1b594a2
267 changed files with 529 additions and 538 deletions

View File

@ -85,10 +85,10 @@ bool handle_US_ANSI_shifted_keys(int16_t keycode, bool in) {
regular_keycode = KC_EQUAL;
break;
case KC_LEFT_CURLY_BRACE:
regular_keycode = KC_LBRACKET;
regular_keycode = KC_LEFT_BRACKET;
break;
case KC_RIGHT_CURLY_BRACE:
regular_keycode = KC_RBRACKET;
regular_keycode = KC_RIGHT_BRACKET;
break;
case KC_PIPE:
regular_keycode = KC_BSLASH;