1
0
Fork 0

Fix Caps Word capitalization when used with Combos + Auto Shift. (#17549)

This commit is contained in:
Pascal Getreuer 2022-08-13 06:48:51 -07:00 committed by GitHub
parent 4eeafbebab
commit 6a0d90f81a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 343 additions and 15 deletions

View file

@ -131,7 +131,11 @@ bool process_caps_word(uint16_t keycode, keyrecord_t* record) {
#endif // SWAP_HANDS_ENABLE
}
#ifdef AUTO_SHIFT_ENABLE
del_weak_mods(get_autoshift_state() ? ~MOD_BIT(KC_LSFT) : 0xff);
#else
clear_weak_mods();
#endif // AUTO_SHIFT_ENABLE
if (caps_word_press_user(keycode)) {
send_keyboard_report();
return true;