30 lines
628 B
C++
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__
|