2010-04-24 00:44:10 +00:00
|
|
|
#include "Attachment.h"
|
|
|
|
|
|
|
|
namespace WiimoteEmu
|
|
|
|
{
|
|
|
|
|
|
|
|
class Drums : public Attachment
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Drums();
|
|
|
|
void GetState( u8* const data, const bool focus );
|
|
|
|
|
2010-07-09 22:11:12 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
BUTTON_PLUS = 0x04,
|
|
|
|
BUTTON_MINUS = 0x10,
|
|
|
|
|
|
|
|
PAD_BASS = 0x0400,
|
|
|
|
PAD_BLUE = 0x0800,
|
|
|
|
PAD_GREEN = 0x1000,
|
|
|
|
PAD_YELLOW = 0x2000,
|
|
|
|
PAD_RED = 0x4000,
|
|
|
|
PAD_ORANGE = 0x8000,
|
|
|
|
};
|
|
|
|
|
2010-04-24 00:44:10 +00:00
|
|
|
private:
|
|
|
|
Buttons* m_buttons;
|
|
|
|
Buttons* m_pads;
|
|
|
|
AnalogStick* m_stick;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|