BitLegit
Just a couple of kids tryin' to make it on their own.
Drums
Drum functions
bool GetDrumButton(int remote, string s)
int remote : the number of the remote(0-15)
- Returns true if the button is being struck in the current frame.
- Acceptable button types:
"GREEN" "RED" "YELLOW" "BLUE" "ORANGE" "PLUS" "MINUS" "PEDAL"
bool GetDrumButtonDown(int remote, string s)
int remote : the number of the remote(0-15)
- Returns true if the button is being struck in the current frame but was not in the previous frame.
- Acceptable button types:
"GREEN" "RED" "YELLOW" "BLUE" "ORANGE" "PLUS" "MINUS" "PEDAL"
bool GetDrumButtonUp(int remote, string s)
int remote : the number of the remote(0-15)
- Returns true if the button is not being struck in the current frame but was in the previous frame.
- Acceptable button types:
"GREEN" "RED" "YELLOW" "BLUE" "ORANGE" "PLUS" "MINUS" "PEDAL"
Vector2 GetDrumAnalogStick(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.
float GetDrumVelocity(int remote, string drum)
int remote : the number of the remote(0-15)
string drum : the type of drum you wish to check
- Acceptable drum types:
"GREEN" "RED" "YELLOW" "BLUE" "ORANGE" "PLUS" "MINUS" "PEDAL"