summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/action.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index 76d02bc9df..8bdcd54e32 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -777,6 +777,7 @@ void register_code(uint8_t code)
#ifdef MOUSEKEY_ENABLE
else if IS_MOUSEKEY(code) {
mousekey_on(code);
+ mousekey_send();
}
#endif
}
@@ -841,6 +842,7 @@ void unregister_code(uint8_t code)
#ifdef MOUSEKEY_ENABLE
else if IS_MOUSEKEY(code) {
mousekey_off(code);
+ mousekey_send();
}
#endif
}