2010-04-13 05:15:38 +00:00
|
|
|
#include "Attachment.h"
|
|
|
|
|
|
|
|
namespace WiimoteEmu
|
|
|
|
{
|
|
|
|
|
|
|
|
class Classic : public Attachment
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Classic();
|
2010-04-22 07:11:49 +00:00
|
|
|
void GetState( u8* const data, const bool focus );
|
2010-04-13 05:15:38 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Buttons* m_buttons;
|
|
|
|
Buttons* m_shake;
|
|
|
|
MixedTriggers* m_triggers;
|
|
|
|
Buttons* m_dpad;
|
|
|
|
AnalogStick* m_left_stick;
|
|
|
|
AnalogStick* m_right_stick;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|