summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-03-25 05:41:19 -0700
committerGitHub <noreply@github.com>2021-03-25 23:41:19 +1100
commit57475caab0c030dc3e37086fdc060ddf0c81e69f (patch)
tree4acb1399c2819c8c350d379882b2ca945e164a3f
parent34205f5bb589437c18bad584525ed97e179e8ba0 (diff)
downloadqmk_firmware-57475caab0c030dc3e37086fdc060ddf0c81e69f.tar.gz
qmk_firmware-57475caab0c030dc3e37086fdc060ddf0c81e69f.zip
Fix issues when manually shifting characters and Auto Shift (#12083)
Specifically, when using the Auto-Shift feature, if you hold and roll shift, it would not actually shift the character that you hit after the shift
-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 a2d315408b..bf359e994d 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