Fix Caps Word capitalization when used with Combos + Auto Shift. (#17549)
This commit is contained in:
parent
4eeafbebab
commit
6a0d90f81a
9 changed files with 343 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue