소스 검색

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 년 전
부모
커밋
57475caab0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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