First commit

This commit is contained in:
nastys
2019-07-06 22:51:56 +02:00
commit 6fb9b12a1c
162 changed files with 19606 additions and 0 deletions
@@ -0,0 +1,21 @@
#pragma once
#include "DirectInputDevice.h"
namespace TLAC::Input
{
class DirectInputMouse : public DirectInputDevice
{
public:
DirectInputMouse();
~DirectInputMouse();
bool Poll();
inline long GetXPosition() { return mouseState.lX; };
inline long GetYPosition() { return mouseState.lY; };
inline long GetMouseWheel() { return mouseState.lZ; };
private:
DIMOUSESTATE mouseState;
};
}