ppsspp/Windows/XinputDevice.h

18 lines
315 B
C
Raw Normal View History

#pragma once
#include "InputDevice.h"
#include "Xinput.h"
class XinputDevice :
public InputDevice
{
public:
XinputDevice();
virtual int UpdateState(InputState &input_state);
private:
2013-03-30 23:25:10 +00:00
void ApplyDiff(XINPUT_STATE &state, InputState &input_state);
int gamepad_idx;
int check_delay;
XINPUT_STATE prevState;
};