mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-13 09:39:11 +01:00
23689387e1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5403 8ced0084-cf51-0410-be5f-012b33b47a6e
35 lines
552 B
C++
35 lines
552 B
C++
#ifndef _CONEMU_GCPAD_H_
|
|
#define _CONEMU_GCPAD_H_
|
|
|
|
#include <ControllerEmu.h>
|
|
|
|
extern SPADInitialize *g_PADInitialize;
|
|
|
|
class GCPad : public ControllerEmu
|
|
{
|
|
public:
|
|
|
|
GCPad( const unsigned int index );
|
|
void GetInput( SPADStatus* const pad );
|
|
void SetOutput( const bool on );
|
|
|
|
std::string GetName() const;
|
|
|
|
|
|
private:
|
|
|
|
Buttons* m_buttons;
|
|
AnalogStick* m_main_stick;
|
|
AnalogStick* m_c_stick;
|
|
Buttons* m_dpad;
|
|
MixedTriggers* m_triggers;
|
|
ControlGroup* m_rumble;
|
|
ControlGroup* m_options;
|
|
|
|
const unsigned int m_index;
|
|
|
|
};
|
|
|
|
|
|
#endif
|