diff --git a/src/Kaleidoscope-MouseKeys.cpp b/src/Kaleidoscope-MouseKeys.cpp index b3e5b733..778e3eb6 100644 --- a/src/Kaleidoscope-MouseKeys.cpp +++ b/src/Kaleidoscope-MouseKeys.cpp @@ -113,8 +113,8 @@ MouseKeys_::MouseKeys_(void) { void MouseKeys_::begin(void) { MouseWrapper.begin(); - event_handler_hook_use(eventHandlerHook); - loop_hook_use(loopHook); + Kaleidoscope.useEventHandlerHook(eventHandlerHook); + Kaleidoscope.useLoopHook(loopHook); } MouseKeys_ MouseKeys;