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:
parent
c87bc92908
commit
c6f1b594a2
267 changed files with 529 additions and 538 deletions
|
@ -37,7 +37,7 @@ void led_set_user(uint8_t usb_led) {
|
|||
}
|
||||
|
||||
if (!(IS_LED_ON(usb_led, USB_LED_NUM_LOCK))) {
|
||||
tap_code(KC_NUMLOCK);
|
||||
tap_code(KC_NUM_LOCK);
|
||||
}
|
||||
}
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
|
@ -49,7 +49,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
else {
|
||||
switch(keycode) {
|
||||
case KC_SYSREQ:
|
||||
case KC_SYSTEM_REQUEST:
|
||||
sysreq_led = true;
|
||||
writePinHigh(F4);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue