Stop using deprecated interfaces

Use `Kaleidoscope.useEventHandlerHook` and `Kaleidoscope.useLoopHook` instead of
the deprecated `event_handler_hook_use` and `loop_hook_use` interfaces.

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/365/head
Gergely Nagy 7 years ago
parent 25bfbe05da
commit b249c50505

@ -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;

Loading…
Cancel
Save