*
This commit is contained in:
@@ -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__
|
||||
Reference in New Issue
Block a user