Hyprland/src/input/InputManager.hpp

17 lines
385 B
C++
Raw Normal View History

2022-03-17 15:53:45 +01:00
#pragma once
#include "../defines.hpp"
class CInputManager {
public:
void onMouseMoved(wlr_event_pointer_motion*);
2022-03-17 16:56:33 +01:00
void onMouseWarp(wlr_event_pointer_motion_absolute*);
2022-03-17 15:53:45 +01:00
private:
Vector2D m_vMouseCoords = Vector2D(0,0);
Vector2D m_vWLRMouseCoords = Vector2D(0,0);
};
inline std::unique_ptr<CInputManager> g_pInputManager;