mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-15 18:49:11 +01:00
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
|