mirror of
https://github.com/izzy2lost/vba10.git
synced 2026-03-26 18:15:30 -07:00
27 lines
417 B
C++
27 lines
417 B
C++
|
|
#pragma once
|
|
|
|
#ifndef NO_XBOX
|
|
|
|
#include "Input.h"
|
|
#include "CXBOXController.h"
|
|
#include "EmulatorInput.h"
|
|
|
|
namespace VBA10
|
|
{
|
|
class ControllerInput
|
|
: public EmulatorInput
|
|
{
|
|
public:
|
|
ControllerInput(int index);
|
|
~ControllerInput(void);
|
|
|
|
const ControllerState *GetControllerState(void);
|
|
void Update(void);
|
|
|
|
private:
|
|
ControllerState state;
|
|
CXBOXController *xboxPad;
|
|
};
|
|
}
|
|
#endif |