From 0c21b263f9bc11e3999d7ea28e78d36663abf02c Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 12 Sep 2015 11:25:41 +0900 Subject: [PATCH] Fix weak modifier clear in action macro --- tmk_core/common/action_macro.c | 2 ++ 1 file changed, 2 insertions(+) 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); }