Files
2025-05-13 02:46:21 +03:00

30 lines
628 B
C++

#ifndef InputSystemOIS_h__
#define InputSystemOIS_h__
#include "IInputSystem.h"
namespace LifeCore
{
class input_impl;
class InputSystemOIS : public LifeCore::IInputSystem
{
private:
input_impl* pImpl;
public:
InputSystemOIS();
~InputSystemOIS();
void Init(int scrW, int scrH, bool exclusiveMode, int hwnd);
void Capture();
bool KeyPressed(LifeCore::Key key);
bool MouseButtonPressed(LifeCore::MouseKey key);
int GetMouseWheel();
int GetMouseRelativeX();
int GetMouseRelativeY();
int GetMouseAbsoluteX();
int GetMouseAbsoluteY();
void CenterCursor(){}
};
};
#endif // InputSystemOIS_h__