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

@@ -78,7 +78,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case BR_UP:
// Clear the RGUI modifier placed by LM for _ML layer as brightness don't
// work with modifiers.
key = (keycode == BR_DOWN) ? KC_SLCK : KC_PAUS;
key = (keycode == BR_DOWN) ? KC_SCRL : KC_PAUS;
if (record->event.pressed) {
unregister_mods(MOD_RGUI);
add_key(key);