mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-17 22:36:35 +00:00
17 lines
237 B
C++
17 lines
237 B
C++
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
#include <Xinput.h>
|
|
|
|
class GamePad
|
|
{
|
|
private:
|
|
vector<shared_ptr<XINPUT_STATE>> _gamePadStates;
|
|
|
|
public:
|
|
GamePad();
|
|
|
|
void RefreshState();
|
|
bool IsPressed(uint8_t gamepadPort, uint8_t button);
|
|
};
|