From f3ac73f6cf015dda52eb293f72e1656b6283f3a9 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sun, 21 Aug 2022 18:05:21 -0700 Subject: More aggressively send shift mod for autoshift and caps word (#357) --- quantum/process_keycode/process_auto_shift.c | 1 + quantum/process_keycode/process_caps_word.c | 1 + 2 files changed, 2 insertions(+) (limited to 'quantum/process_keycode') diff --git a/quantum/process_keycode/process_auto_shift.c b/quantum/process_keycode/process_auto_shift.c index 2bf0146a77..e568c93e79 100644 --- a/quantum/process_keycode/process_auto_shift.c +++ b/quantum/process_keycode/process_auto_shift.c @@ -95,6 +95,7 @@ __attribute__((weak)) bool get_auto_shift_no_auto_repeat(uint16_t keycode, keyre __attribute__((weak)) void autoshift_press_user(uint16_t keycode, bool shifted, keyrecord_t *record) { if (shifted) { add_weak_mods(MOD_BIT(KC_LSFT)); + send_keyboard_report(); } register_code16((IS_RETRO(keycode)) ? keycode & 0xFF : keycode); } diff --git a/quantum/process_keycode/process_caps_word.c b/quantum/process_keycode/process_caps_word.c index b1415c33b5..4eeb6eb722 100644 --- a/quantum/process_keycode/process_caps_word.c +++ b/quantum/process_keycode/process_caps_word.c @@ -152,6 +152,7 @@ __attribute__((weak)) bool caps_word_press_user(uint16_t keycode) { case KC_A ... KC_Z: case KC_MINS: add_weak_mods(MOD_BIT(KC_LSFT)); // Apply shift to next key. + send_keyboard_report(); return true; // Keycodes that continue Caps Word, without shifting. -- cgit v1.2.3