summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index cb0bd722..188d288f 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -12,6 +12,10 @@ enum eClickBehaviorMode {
CLICKMODE_KILL
};
+struct STouchData {
+ CWindow* touchFocusWindow = nullptr;
+};
+
class CInputManager {
public:
@@ -44,6 +48,11 @@ public:
eClickBehaviorMode getClickMode();
void processMouseRequest(wlr_seat_pointer_request_set_cursor_event*);
+ void onTouchDown(wlr_touch_down_event*);
+ void onTouchUp(wlr_touch_up_event*);
+ void onTouchMove(wlr_touch_motion_event*);
+
+ STouchData m_sTouchData;
// for dragging floating windows
CWindow* currentlyDraggedWindow = nullptr;