BitLegit
Just a couple of kids tryin' to make it on their own.
Guitar
Guitar functions
bool GetGuitarButton(int remote, string s)
int remote : the number of the remote(0-15)
- Returns true if the button is depressed in the current frame.
- Acceptable button types:
"GREEN" "RED" "YELLOW" "BLUE" "ORANGE" "PLUS" "MINUS":
bool GetGuitarButtonDown(int remote, string s)
int remote : the number of the remote(0-15)
- Returns true if the button is depressed in the current frame but was not in the previous frame.
- Acceptable button types:
"GREEN" "RED" "YELLOW" "BLUE" "ORANGE" "PLUS" "MINUS":
bool GetGuitarButtonUp(int remote, string s)
int remote : the number of the remote(0-15)
- Returns true if the button is not depressed in the current frame but was in the previous frame.
- Acceptable button types:
"GREEN" "RED" "YELLOW" "BLUE" "ORANGE" "PLUS" "MINUS":
Vector2 GetGuitarAnalogStick(int remote)
int remote : the number of the remote(0-15)
- If a Drumset is attached to this wiimote, a Vector2 is returned representing its analog stick's
x and y values.
- Values are returned on a scale between approximately -1 and 1.
int GetGuitarStrum(int remote)
int remote : the number of the remote(0-15)
- Returns a zero if the strummer is in the neutral position.
- Returns a 1 if the strummer is turned downwards.
- Returns a -1 if the strummer is turned upwards.
float GetGuitarWhammy(int remote)
int remote : the number of the remote(0-15)
- Returns a value between 0 and 1 representing the force depressing the whammy bar, similarly to
an analog button.