diff --git a/src/Keyboardio-MouseKeys.cpp b/src/Keyboardio-MouseKeys.cpp index aba457a0..b3a2a7be 100644 --- a/src/Keyboardio-MouseKeys.cpp +++ b/src/Keyboardio-MouseKeys.cpp @@ -62,7 +62,7 @@ MouseKeys_::MouseKeys_(void) { void MouseKeys_::begin (void) { - event_handler_hook_add (handleMouseKeys); + event_handler_hook_use (handleMouseKeys); } MouseKeys_ MouseKeys;