1
0
Fork 0
forked from forks/qmk_firmware

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
This commit is contained in:
Drashna Jaelre 2021-03-25 05:41:19 -07:00 committed by GitHub
parent 34205f5bb5
commit 57475caab0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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