summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-05 22:18:10 +0100
committerVaxry <43317083+vaxerski@users.noreply.github.com>2024-05-09 13:37:39 +0100
commited411f53bdcf8d455f9e6ca769693aa84dc8372f (patch)
treeaacedb349acdd1022975d7b622dc7cfe11388223 /src/managers/KeybindManager.hpp
parente4e84064f2d07810e0c150bce1369a0a00503e9a (diff)
cursor: move to a hyprland impl
This moves wlr_cursor to a completely new impl mostly under CPointerManager Also adds beginSimple to OpenGL for simple render passes (e.g. cursor)
Diffstat (limited to 'src/managers/KeybindManager.hpp')
-rw-r--r--src/managers/KeybindManager.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp
index c382f3eb..da98a749 100644
--- a/src/managers/KeybindManager.hpp
+++ b/src/managers/KeybindManager.hpp
@@ -5,6 +5,7 @@
#include "../Compositor.hpp"
#include <unordered_map>
#include <functional>
+#include "../devices/IPointer.hpp"
class CInputManager;
class CConfigManager;
@@ -62,9 +63,9 @@ class CKeybindManager {
~CKeybindManager();
bool onKeyEvent(std::any, SP<IKeyboard>);
- bool onAxisEvent(wlr_pointer_axis_event*);
- bool onMouseEvent(wlr_pointer_button_event*);
- void resizeWithBorder(wlr_pointer_button_event*);
+ bool onAxisEvent(const IPointer::SAxisEvent&);
+ bool onMouseEvent(const IPointer::SButtonEvent&);
+ void resizeWithBorder(const IPointer::SButtonEvent&);
void onSwitchEvent(const std::string&);
void onSwitchOnEvent(const std::string&);
void onSwitchOffEvent(const std::string&);