diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-11 06:06:26 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 20:06:26 +0100 |
commit | c6f1b594a2085e67219bd5f0f7ba7898429d331c (patch) | |
tree | 615d8b6253c8c07beda12676f8cdbdcf2fa837a9 /keyboards/glenpickle/chimera_ortho/keymaps/default/keymap.c | |
parent | c87bc929086d41daf804c10d02ec7ee1fca61a4a (diff) |
Remove legacy keycodes, part 2 (#18660)
* `KC_SYSREQ` -> `KC_SYRQ`
And one `KC_ALT_ERASE` -> `KC_ERAS`
* `KC_NONUS_BSLASH` -> `KC_NUBS`
* `KC_NUMLOCK` -> `KC_NUM`
* `KC_CLCK` -> `KC_CAPS`
* `KC_SCROLLLOCK` -> `KC_SCRL`
* `KC_LBRACKET` -> `KC_LBRC`
* `KC_RBRACKET` -> `KC_RBRC`
* `KC_CAPSLOCK` -> `KC_CAPS`
Diffstat (limited to 'keyboards/glenpickle/chimera_ortho/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/glenpickle/chimera_ortho/keymaps/default/keymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/glenpickle/chimera_ortho/keymaps/default/keymap.c b/keyboards/glenpickle/chimera_ortho/keymaps/default/keymap.c index bc783f540c..f4c9ad81ca 100644 --- a/keyboards/glenpickle/chimera_ortho/keymaps/default/keymap.c +++ b/keyboards/glenpickle/chimera_ortho/keymaps/default/keymap.c @@ -134,15 +134,15 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { case KC_SCAP: if (record->event.pressed){ layer_on(_CAPS); - register_code(KC_CAPSLOCK); - unregister_code(KC_CAPSLOCK); + register_code(KC_CAPS_LOCK); + unregister_code(KC_CAPS_LOCK); } return false; case KC_SCOF: if (record->event.pressed){ layer_off(_CAPS); - register_code(KC_CAPSLOCK); - unregister_code(KC_CAPSLOCK); + register_code(KC_CAPS_LOCK); + unregister_code(KC_CAPS_LOCK); } return false; } |