summaryrefslogtreecommitdiff
path: root/quantum/process_keycode
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-02-26 02:34:19 -0800
committerGitHub <noreply@github.com>2021-02-26 19:34:19 +0900
commitcc5e4b76a2fa72565c00397628c915ca93135878 (patch)
treed9c410b93fe489a500eb384fa324ec184e94c45c /quantum/process_keycode
parent2a629f057393371e6ca5abf5bcb6ee9d75a003b1 (diff)
Disable Autoshift for shift as well (#330)
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r--quantum/process_keycode/process_auto_shift.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_auto_shift.c b/quantum/process_keycode/process_auto_shift.c
index 41e60496b9..7fa4bad75a 100644
--- a/quantum/process_keycode/process_auto_shift.c
+++ b/quantum/process_keycode/process_auto_shift.c
@@ -46,7 +46,7 @@ static bool autoshift_press(uint16_t keycode, uint16_t now, keyrecord_t *record)
}
# ifndef AUTO_SHIFT_MODIFIERS
- if (get_mods() & (~MOD_BIT(KC_LSFT))) {
+ if (get_mods()) {
return true;
}
# endif