|
|
@ -777,6 +777,7 @@ void register_code(uint8_t code)
|
|
|
|
#ifdef MOUSEKEY_ENABLE
|
|
|
|
#ifdef MOUSEKEY_ENABLE
|
|
|
|
else if IS_MOUSEKEY(code) {
|
|
|
|
else if IS_MOUSEKEY(code) {
|
|
|
|
mousekey_on(code);
|
|
|
|
mousekey_on(code);
|
|
|
|
|
|
|
|
mousekey_send();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -841,6 +842,7 @@ void unregister_code(uint8_t code)
|
|
|
|
#ifdef MOUSEKEY_ENABLE
|
|
|
|
#ifdef MOUSEKEY_ENABLE
|
|
|
|
else if IS_MOUSEKEY(code) {
|
|
|
|
else if IS_MOUSEKEY(code) {
|
|
|
|
mousekey_off(code);
|
|
|
|
mousekey_off(code);
|
|
|
|
|
|
|
|
mousekey_send();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|