summaryrefslogtreecommitdiff
path: root/users/datagrok
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-17 00:14:40 +1100
committerGitHub <noreply@github.com>2022-10-16 14:14:40 +0100
commit74223c34a969c0877bde035c721c21a1f25890fa (patch)
tree1daea9db13a0adb529e5aba4aa1e6f893cb7ed8c /users/datagrok
parent39c22f5cf5011427ece26c510d0b1ab42edf34db (diff)
Remove legacy keycodes, part 6 (#18740)
* `KC_RSHIFT` -> `KC_RSFT` * `KC_RCTRL` -> `KC_RCTL` * `KC_LSHIFT` -> `KC_LSFT` * `KC_LCTRL` -> `KC_LCTL`
Diffstat (limited to 'users/datagrok')
-rw-r--r--users/datagrok/feature_cdeq.c2
-rw-r--r--users/datagrok/feature_default_layers_selector.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/users/datagrok/feature_cdeq.c b/users/datagrok/feature_cdeq.c
index c1796ab227..50f784b2dd 100644
--- a/users/datagrok/feature_cdeq.c
+++ b/users/datagrok/feature_cdeq.c
@@ -27,7 +27,7 @@ bool process_record_cdeq(uint16_t keycode, keyrecord_t *record) {
return true;
}
- shifted = get_mods() & (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT));
+ shifted = get_mods() & (MOD_BIT(KC_LSFT)|MOD_BIT(KC_RSFT));
// Keydown. If shift is currently pressed, register its alternate keycode.
if (record->event.pressed && shifted) {
diff --git a/users/datagrok/feature_default_layers_selector.c b/users/datagrok/feature_default_layers_selector.c
index c83c773f83..0ae1a894a0 100644
--- a/users/datagrok/feature_default_layers_selector.c
+++ b/users/datagrok/feature_default_layers_selector.c
@@ -15,7 +15,7 @@ bool process_record_save_default_layer(uint16_t keycode, keyrecord_t *record) {
if (!(keycode == KF_LAYO
&& record->event.pressed
- && get_mods() & (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)))) {
+ && get_mods() & (MOD_BIT(KC_LSFT)|MOD_BIT(KC_RSFT)))) {
return true;
}