mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 22:25:59 +01: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;
|