summaryrefslogtreecommitdiffstats
path: root/users/ericgebhart/extensions/oneshot.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-11-16 03:52:01 +1100
committerGitHub <noreply@github.com>2022-11-15 16:52:01 +0000
commitde66797705ef0e490e5deca0545f009c351f5f45 (patch)
tree86e435ee5b6ff7a4f1d47a5337818e59d85191e9 /users/ericgebhart/extensions/oneshot.c
parent594f869619884519692319a44da394f8959d4cdf (diff)
Fix some old keycodes (#19086)
Diffstat (limited to 'users/ericgebhart/extensions/oneshot.c')
-rw-r--r--users/ericgebhart/extensions/oneshot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/ericgebhart/extensions/oneshot.c b/users/ericgebhart/extensions/oneshot.c
index 83c8a04363..55c2fa1ae3 100644
--- a/users/ericgebhart/extensions/oneshot.c
+++ b/users/ericgebhart/extensions/oneshot.c
@@ -125,10 +125,10 @@ int8_t update_oneshot_modifiers(uint16_t keycode, keyrecord_t *record, int8_t ke
// registers/unregisters a mod to the operating system on state change if necessary
void update_modifier(oneshot_mod osmod, oneshot_state previous_state, oneshot_state current_state) {
if (previous_state == ONESHOT_STATE_OFF) {
- register_code(KC_LCTRL + osmod);
+ register_code(KC_LCTL + osmod);
} else {
if (current_state == ONESHOT_STATE_OFF) {
- unregister_code(KC_LCTRL + osmod);
+ unregister_code(KC_LCTL + osmod);
}
}
}