mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-15 18:49:11 +01:00
d8906d2a0c
Moved ControllerInterface to InputCommon. Moved GCPadNew GUI/Config code to a new project, InputPluginCommon. It is used by both GCPadNew and WiimoteNew. I hope that I included everyone's fixes to GCPadNew and ControllerInterface. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5355 8ced0084-cf51-0410-be5f-012b33b47a6e
31 lines
416 B
C++
31 lines
416 B
C++
#ifndef _ATTACHMENT_EMU_H_
|
|
#define _ATTACHMENT_EMU_H_
|
|
|
|
#include "ControllerEmu.h"
|
|
#include "../WiimoteEmu.h"
|
|
|
|
namespace WiimoteEmu
|
|
{
|
|
|
|
class Attachment : public ControllerEmu
|
|
{
|
|
public:
|
|
Attachment( const char* const _name );
|
|
|
|
virtual void GetState( u8* const data ) {}
|
|
std::string GetName() const;
|
|
|
|
const char* const name;
|
|
std::vector<u8> reg;
|
|
};
|
|
|
|
class None : public Attachment
|
|
{
|
|
public:
|
|
None();
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|