summaryrefslogtreecommitdiffstats
path: root/keyboards/dz60/keymaps/iso_split-spacebar
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-16 08:29:43 +1100
committerGitHub <noreply@github.com>2022-10-15 22:29:43 +0100
commit5e4b076af3c99d36632d6b92f3ddd046f38a01af (patch)
treeed704dea66f5a16e364efc39a48abeb63c8226ba /keyboards/dz60/keymaps/iso_split-spacebar
parent92d7964b285cf852d702cc4dea7e21e838f118a2 (diff)
Remove legacy keycodes, part 5 (#18710)
* `KC_SLCK` -> `KC_SCRL` * `KC_NLCK` -> `KC_NUM`
Diffstat (limited to 'keyboards/dz60/keymaps/iso_split-spacebar')
-rw-r--r--keyboards/dz60/keymaps/iso_split-spacebar/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/dz60/keymaps/iso_split-spacebar/keymap.c b/keyboards/dz60/keymaps/iso_split-spacebar/keymap.c
index 89cc8354c0..a790f6d3ad 100644
--- a/keyboards/dz60/keymaps/iso_split-spacebar/keymap.c
+++ b/keyboards/dz60/keymaps/iso_split-spacebar/keymap.c
@@ -156,12 +156,12 @@ layer_state_t layer_state_set_user(layer_state_t state) {
switch (get_highest_layer(state)) {
case NL:
if (!host_keyboard_led_state().num_lock) {
- tap_code16(KC_NLCK);
+ tap_code16(KC_NUM_LOCK);
}
break;
default: // for any other layers, or the default layer
if (host_keyboard_led_state().num_lock) {
- tap_code16(KC_NLCK);
+ tap_code16(KC_NUM_LOCK);
}
break;
}