diff options
Diffstat (limited to 'tmk_core/common/action.c')
| -rw-r--r-- | tmk_core/common/action.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index 76d02bc9d..8bdcd54e3 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c | |||
| @@ -777,6 +777,7 @@ void register_code(uint8_t code) | |||
| 777 | #ifdef MOUSEKEY_ENABLE | 777 | #ifdef MOUSEKEY_ENABLE |
| 778 | else if IS_MOUSEKEY(code) { | 778 | else if IS_MOUSEKEY(code) { |
| 779 | mousekey_on(code); | 779 | mousekey_on(code); |
| 780 | mousekey_send(); | ||
| 780 | } | 781 | } |
| 781 | #endif | 782 | #endif |
| 782 | } | 783 | } |
| @@ -841,6 +842,7 @@ void unregister_code(uint8_t code) | |||
| 841 | #ifdef MOUSEKEY_ENABLE | 842 | #ifdef MOUSEKEY_ENABLE |
| 842 | else if IS_MOUSEKEY(code) { | 843 | else if IS_MOUSEKEY(code) { |
| 843 | mousekey_off(code); | 844 | mousekey_off(code); |
| 845 | mousekey_send(); | ||
| 844 | } | 846 | } |
| 845 | #endif | 847 | #endif |
| 846 | } | 848 | } |
