From: tmk Date: Sat, 12 Sep 2015 02:25:41 +0000 (+0900) Subject: Fix weak modifier clear in action macro X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=0c21b263f9bc11e3999d7ea28e78d36663abf02c;p=max%2Ftmk_keyboard.git Fix weak modifier clear in action macro --- diff --git a/tmk_core/common/action_macro.c b/tmk_core/common/action_macro.c index ba93fc8b..ffaf125c 100644 --- a/tmk_core/common/action_macro.c +++ b/tmk_core/common/action_macro.c @@ -42,6 +42,7 @@ void action_macro_play(const macro_t *macro_p) dprintf("KEY_DOWN(%02X)\n", macro); if (IS_MOD(macro)) { add_weak_mods(MOD_BIT(macro)); + send_keyboard_report(); } else { register_code(macro); } @@ -51,6 +52,7 @@ void action_macro_play(const macro_t *macro_p) dprintf("KEY_UP(%02X)\n", macro); if (IS_MOD(macro)) { del_weak_mods(MOD_BIT(macro)); + send_keyboard_report(); } else { unregister_code(macro); }