mirror of
https://github.com/vale981/Hyprland
synced 2025-03-12 21:56:38 -04:00
17 lines
356 B
C++
17 lines
356 B
C++
![]() |
#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;
|