From dcd8d8405e56d99fb8fe81323e460b255e44aad5 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Fri, 27 Jan 2017 23:01:26 +0100 Subject: [PATCH] Use the new, double-add protected hook functions Signed-off-by: Gergely Nagy --- src/Keyboardio-MouseKeys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;