diff options
author | tmk <hasu@tmk-kbd.com> | 2015-09-12 11:25:41 +0900 |
---|---|---|
committer | tmk <hasu@tmk-kbd.com> | 2015-09-12 11:25:41 +0900 |
commit | 0c21b263f9bc11e3999d7ea28e78d36663abf02c (patch) | |
tree | 70d8476a188c1f8dbae95424a92876a7b6c4c41d /tmk_core/common | |
parent | 9f1d23bfe11d0a2db028ec2d585385094b80c098 (diff) |
Fix weak modifier clear in action macro
Diffstat (limited to 'tmk_core/common')
-rw-r--r-- | tmk_core/common/action_macro.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/action_macro.c b/tmk_core/common/action_macro.c index ba93fc8b23..ffaf125c06 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); } |