Mesen-X/GUI/GamePad.h

18 lines
184 B
C
Raw Normal View History

2014-06-21 19:03:13 -04:00
#pragma once
#include "stdafx.h"
#include <Xinput.h>
class GamePad
{
private:
XINPUT_STATE _state;
bool Initialize();
public:
GamePad();
bool IsPressed(WORD button);
};