dolphin/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/Attachment/Nunchuk.h

29 lines
362 B
C
Raw Normal View History

#ifndef NUNCHUCK_H
#define NUNCHUCK_H
#include "Attachment.h"
namespace WiimoteEmu
{
class Nunchuk : public Attachment
{
public:
Nunchuk();
virtual void GetState( u8* const data, const bool focus );
private:
Tilt* m_tilt;
Force* m_swing;
Buttons* m_shake;
Buttons* m_buttons;
AnalogStick* m_stick;
unsigned int m_shake_step[3];
};
}
#endif