Files
PDModdingCommunity_PD-Loader/source/plugins/TLAC/Input/DirectInput/DirectInputMouse.h
T
2019-07-06 22:51:56 +02:00

21 lines
406 B
C++

#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;
};
}