summaryrefslogtreecommitdiff
path: root/keyboards/glenpickle
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/glenpickle')
-rw-r--r--keyboards/glenpickle/chimera_ls/keymaps/default/keymap.c8
-rw-r--r--keyboards/glenpickle/chimera_ortho/keymaps/default/keymap.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/glenpickle/chimera_ls/keymaps/default/keymap.c b/keyboards/glenpickle/chimera_ls/keymaps/default/keymap.c
index 1ae70e6245..cc0fbb2628 100644
--- a/keyboards/glenpickle/chimera_ls/keymaps/default/keymap.c
+++ b/keyboards/glenpickle/chimera_ls/keymaps/default/keymap.c
@@ -139,16 +139,16 @@ 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;
}
break;
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;
}
break;
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;
}