mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-14 10:09:13 +01:00
22c2276cef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5422 8ced0084-cf51-0410-be5f-012b33b47a6e
26 lines
309 B
C++
26 lines
309 B
C++
#include "Attachment.h"
|
|
|
|
|
|
namespace WiimoteEmu
|
|
{
|
|
|
|
class Nunchuk : public Attachment
|
|
{
|
|
public:
|
|
Nunchuk();
|
|
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];
|
|
};
|
|
|
|
}
|