Hyprland/src/input/InputManager.hpp
2022-03-17 16:56:33 +01:00

17 lines
No EOL
385 B
C++

#pragma once
#include "../defines.hpp"
class CInputManager {
public:
void onMouseMoved(wlr_event_pointer_motion*);
void onMouseWarp(wlr_event_pointer_motion_absolute*);
private:
Vector2D m_vMouseCoords = Vector2D(0,0);
Vector2D m_vWLRMouseCoords = Vector2D(0,0);
};
inline std::unique_ptr<CInputManager> g_pInputManager;