aboutsummaryrefslogtreecommitdiff
path: root/quantum/process_keycode
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 /quantum/process_keycode
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
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 a2d315408..bf359e994 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)
46 } 46 }
47 47
48# ifndef AUTO_SHIFT_MODIFIERS 48# ifndef AUTO_SHIFT_MODIFIERS
49 if (get_mods() & (~MOD_BIT(KC_LSFT))) { 49 if (get_mods()) {
50 return true; 50 return true;
51 } 51 }
52# endif 52# endif