diff options
author | Drashna Jaelre <drashna@live.com> | 2018-10-03 22:33:06 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-04 10:44:28 -0400 |
commit | dad579c8f81bdde08e598f9d99249893d5d779a8 (patch) | |
tree | 064ee5358ec5c32c3cfd71f371f5a2ee9dde1848 /tmk_core | |
parent | f13ca593618b9f5ed6c175496a0d84633f541a94 (diff) | |
download | qmk_firmware-dad579c8f81bdde08e598f9d99249893d5d779a8.tar.gz qmk_firmware-dad579c8f81bdde08e598f9d99249893d5d779a8.zip |
Add mousekey_send to (un)register_code
Diffstat (limited to 'tmk_core')
-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 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 } |