Mesen-X/GUI/GamePad.h
2014-06-21 19:03:13 -04:00

17 lines
184 B
C++

#pragma once
#include "stdafx.h"
#include <Xinput.h>
class GamePad
{
private:
XINPUT_STATE _state;
bool Initialize();
public:
GamePad();
bool IsPressed(WORD button);
};