24 lines
259 B
C
24 lines
259 B
C
|
#include "Attachment.h"
|
||
|
|
||
|
|
||
|
namespace WiimoteEmu
|
||
|
{
|
||
|
|
||
|
class Nunchuk : public Attachment
|
||
|
{
|
||
|
public:
|
||
|
Nunchuk();
|
||
|
void GetState( u8* const data );
|
||
|
|
||
|
private:
|
||
|
Tilt* m_tilt;
|
||
|
Force* m_swing;
|
||
|
|
||
|
Buttons* m_shake;
|
||
|
|
||
|
Buttons* m_buttons;
|
||
|
AnalogStick* m_stick;
|
||
|
};
|
||
|
|
||
|
}
|