From: Drashna Jaelre Date: Thu, 4 Oct 2018 05:33:06 +0000 (-0700) Subject: Add mousekey_send to (un)register_code X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dad579c8f81bdde08e598f9d99249893d5d779a8;p=qmk_firmware.git Add mousekey_send to (un)register_code --- 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) #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 }