Pārlūkot izejas kodu

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
Drashna Jaelre 4 gadi atpakaļ
vecāks
revīzija
57475caab0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      quantum/process_keycode/process_auto_shift.c

+ 1 - 1
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