From 57475caab0c030dc3e37086fdc060ddf0c81e69f Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Thu, 25 Mar 2021 05:41:19 -0700 Subject: [PATCH] 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 --- quantum/process_keycode/process_auto_shift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } # ifndef AUTO_SHIFT_MODIFIERS - if (get_mods() & (~MOD_BIT(KC_LSFT))) { + if (get_mods()) { return true; } # endif