This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
+30
View File
@@ -0,0 +1,30 @@
#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__