Remove legacy keycodes, part 5 (#18710)

* `KC_SLCK` -> `KC_SCRL`
* `KC_NLCK` -> `KC_NUM`
This commit is contained in:
Ryan
2022-10-16 08:29:43 +11:00
committed by GitHub
parent 92d7964b28
commit 5e4b076af3
2171 changed files with 2799 additions and 2802 deletions

View File

@@ -117,7 +117,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
if (!numlock_set && record->event.pressed) {
led_t led_state = host_keyboard_led_state();
if (!led_state.num_lock) {
register_code(KC_NLCK);
register_code(KC_NUM_LOCK);
}
numlock_set = true;
}