mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-17 19:49:12 +01:00
1e4f3c589d
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5863 8ced0084-cf51-0410-be5f-012b33b47a6e
36 lines
491 B
C++
36 lines
491 B
C++
#include "Attachment.h"
|
|
|
|
namespace WiimoteEmu
|
|
{
|
|
|
|
class Guitar : public Attachment
|
|
{
|
|
public:
|
|
Guitar();
|
|
void GetState( u8* const data, const bool focus );
|
|
|
|
enum
|
|
{
|
|
BUTTON_PLUS = 0x04,
|
|
BUTTON_MINUS = 0x10,
|
|
BAR_DOWN = 0x40,
|
|
|
|
BAR_UP = 0x0100,
|
|
FRET_YELLOW = 0x0800,
|
|
FRET_GREEN = 0x1000,
|
|
FRET_BLUE = 0x2000,
|
|
FRET_RED = 0x4000,
|
|
FRET_ORANGE = 0x8000,
|
|
};
|
|
|
|
private:
|
|
Buttons* m_buttons;
|
|
Buttons* m_frets;
|
|
Buttons* m_strum;
|
|
Triggers* m_whammy;
|
|
AnalogStick* m_stick;
|
|
};
|
|
|
|
|
|
}
|