diff options
Diffstat (limited to 'src/managers/KeybindManager.hpp')
-rw-r--r-- | src/managers/KeybindManager.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index 24e71c6a..c382f3eb 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -9,6 +9,7 @@ class CInputManager; class CConfigManager; class CPluginSystem; +class IKeyboard; struct SKeybind { std::string key = ""; @@ -60,7 +61,7 @@ class CKeybindManager { CKeybindManager(); ~CKeybindManager(); - bool onKeyEvent(wlr_keyboard_key_event*, SKeyboard*); + bool onKeyEvent(std::any, SP<IKeyboard>); bool onAxisEvent(wlr_pointer_axis_event*); bool onMouseEvent(wlr_pointer_button_event*); void resizeWithBorder(wlr_pointer_button_event*); |