diff options
author | Drashna Jaelre <drashna@live.com> | 2021-03-25 05:41:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-25 23:41:19 +1100 |
commit | 57475caab0c030dc3e37086fdc060ddf0c81e69f (patch) | |
tree | 4acb1399c2819c8c350d379882b2ca945e164a3f /quantum/process_keycode | |
parent | 34205f5bb589437c18bad584525ed97e179e8ba0 (diff) | |
download | qmk_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.c | 2 |
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 |