1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2171 changed files with 2799 additions and 2802 deletions

View file

@ -49,7 +49,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
bool numpad = IS_LAYER_ON_STATE(state, L_NUMPAD);
bool num_lock = IS_HOST_LED_ON(USB_LED_NUM_LOCK);
if (numpad != num_lock) {
tap_code(KC_NLCK); // Toggle Num Lock to match Numpad layer state
tap_code(KC_NUM_LOCK); // Toggle Num Lock to match Numpad layer state
}
#endif