summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/osx_neo2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-06 02:21:40 +1100
committerGitHub <noreply@github.com>2022-10-05 16:21:40 +0100
commitd1b6b062024dddf047f760efbad21edb2acca394 (patch)
tree470533d57a596d0bca41f099ba84e364b44330e2 /layouts/community/ergodox/osx_neo2
parentee0a2b5d49db7c535d37942ebbd4c6990d299ff6 (diff)
Remove legacy locking caps/num/scroll keycodes (#18601)
Diffstat (limited to 'layouts/community/ergodox/osx_neo2')
-rw-r--r--layouts/community/ergodox/osx_neo2/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/community/ergodox/osx_neo2/keymap.c b/layouts/community/ergodox/osx_neo2/keymap.c
index 125cc43a8f..22d6f35e08 100644
--- a/layouts/community/ergodox/osx_neo2/keymap.c
+++ b/layouts/community/ergodox/osx_neo2/keymap.c
@@ -687,9 +687,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if ((capslock_state & MOD_MASK_SHIFT) == MOD_MASK_SHIFT) {
// CAPSLOCK is currently active, disable it
if (host_keyboard_leds() & (1 << USB_LED_CAPS_LOCK)) {
- unregister_code(KC_LOCKING_CAPS);
+ unregister_code(KC_LOCKING_CAPS_LOCK);
} else {
- register_code(KC_LOCKING_CAPS);
+ register_code(KC_LOCKING_CAPS_LOCK);
}
return false;
}