summaryrefslogtreecommitdiff
path: root/src/input/InputManager.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-17 20:55:04 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-17 20:55:04 +0100
commit854c827911b898d38fd54cdfab6bbd57296d3842 (patch)
treeebc6cc52261c4e1ffaa86a465385113fadab87d1 /src/input/InputManager.hpp
parentbc937e3e711e53774e2c9fa26d13125427f6378b (diff)
input manager progress
Diffstat (limited to 'src/input/InputManager.hpp')
-rw-r--r--src/input/InputManager.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input/InputManager.hpp b/src/input/InputManager.hpp
index 60fbedb7..b750ad4c 100644
--- a/src/input/InputManager.hpp
+++ b/src/input/InputManager.hpp
@@ -1,13 +1,18 @@
#pragma once
#include "../defines.hpp"
+#include <deque>
+#include "../helpers/WLClasses.hpp"
class CInputManager {
public:
void onMouseMoved(wlr_event_pointer_motion*);
void onMouseWarp(wlr_event_pointer_motion_absolute*);
+ void onKeyboardKey(wlr_event_keyboard_key*);
+ void onKeyboardMod(void*);
+ void newKeyboard(wlr_input_device*);
Vector2D getMouseCoordsInternal();
@@ -15,6 +20,8 @@ private:
Vector2D m_vMouseCoords = Vector2D(0,0);
Vector2D m_vWLRMouseCoords = Vector2D(0,0);
+ std::deque<SKeyboard> m_dKeyboards;
+
};
inline std::unique_ptr<CInputManager> g_pInputManager; \ No newline at end of file