2010-04-13 05:15:38 +00:00
|
|
|
#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 );
|
|
|
|
|
2010-04-22 07:11:49 +00:00
|
|
|
virtual void GetState( u8* const data, const bool focus = true ) {}
|
2010-04-13 05:15:38 +00:00
|
|
|
std::string GetName() const;
|
|
|
|
|
|
|
|
const char* const name;
|
|
|
|
std::vector<u8> reg;
|
|
|
|
};
|
|
|
|
|
|
|
|
class None : public Attachment
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
None();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|