diff options
Diffstat (limited to 'src/input/InputManager.hpp')
| -rw-r--r-- | src/input/InputManager.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/input/InputManager.hpp b/src/input/InputManager.hpp new file mode 100644 index 00000000..38ec419a --- /dev/null +++ b/src/input/InputManager.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include "../defines.hpp" + +class CInputManager { +public: + + void onMouseMoved(wlr_event_pointer_motion*); + void onMouseButton(int); + +private: + Vector2D m_vMouseCoords = Vector2D(0,0); + Vector2D m_vWLRMouseCoords = Vector2D(0,0); + +}; + +inline std::unique_ptr<CInputManager> g_pInputManager;
\ No newline at end of file |
