This file contains input headers. More...
Data Structures | |
struct | Wii_WPad |
This structure is a part of the WPads struct. More... | |
struct | Wii_IR |
This structure is a part of the WPads struct. (IR/Cursor). More... | |
struct | Wii_GForce |
This structure is a part of the WPads, Nunchuks struct. (Gravity Force). More... | |
struct | Wii_Orientation |
This structure is a part of the WPads, Nunchuks structs. (Orientation). More... | |
struct | WPads |
This structure contains all the Wiimote features values. More... | |
struct | Nunchuk_Buttons |
This structure is a part of the Nunchuks struct. (Buttons). More... | |
struct | Joystick |
This structure is a part of the Nunchuks, CPads structs. (Joystick). More... | |
struct | Nunchuks |
This structure contains all the Nunchuk features values. More... | |
struct | CPad_Buttons |
This structure is a part of the CPads struct. More... | |
struct | CPads |
This structure contains all the Classic Controler features values. More... | |
struct | GH_Buttons |
This structure is a part of the GH struct. More... | |
struct | GH |
This structure contains all the Guitar Hero features values. More... | |
struct | GC_Pad |
This structure is a part of the GC_Pads struct. More... | |
struct | GC_Stick |
This structure is a part of the GC_Pads struct. More... | |
struct | GC_Sticks |
This structure is a part of the GC_Pads struct. More... | |
struct | GC_Pads |
This structure contains all the GC pads features values. More... | |
Functions | |
void | ML_InitPad () |
This function inits pads (Wii and GC). | |
void | ML_SetNumberOfPads (u8 wiimotesNumber, u8 gc_padsNumber) |
This function sets the number of Wiimotes and GCN pads. | |
void | ML_GetPads () |
This function receives the pads (Wii and GC) status. | |
int | ML_GetWiimoteExtension (u8 wpad) |
This function checks which Wiimote extension is connected. | |
bool | ML_EnableNunchuk (u8 enabled) |
This function sets if the Nunchuk is enabled or not. | |
bool | ML_EnableCPad (u8 enabled) |
This function sets if the Classic pad is enabled or not. | |
bool | ML_EnableGuitar (u8 enabled) |
This function sets if the guitar of GH is enabled or not. | |
void | ML_RumbleWiimote (s32 wpad, int enabled) |
This function rumbles the Wiimote if enabled. |
This file contains input headers.
void ML_EnableCPad | ( | u8 | enabled | ) |
This function sets if the Classic pad is enabled or not.
You can type 3 as "enabled", it will return if it's already enabled.
enabled | Classic pad enabled (1) or not (0) |
void ML_EnableGuitar | ( | u8 | enabled | ) |
This function sets if the guitar of GH is enabled or not.
You can type 3 as "enabled", it will return if it's already enabled.
enabled | Guitar enabled (1) or not (0) |
void ML_EnableNunchuk | ( | u8 | enabled | ) |
This function sets if the Nunchuk is enabled or not.
You can type 3 as "enabled", it will return if it's already enabled.
enabled | Nunchuk enabled (1) or not (0) |
int ML_GetWiimoteExtension | ( | u8 | wpad | ) |
This function checks which Wiimote extension is connected.
wpad | Which wiimote |
void ML_RumbleWiimote | ( | s32 | wpad, | |
int | enabled | |||
) |
This function rumbles the Wiimote if enabled.
wpad | Wiimote number (All Wiimotes : WPAD_CHAN_ALL) | |
enabled | Enable rumble or not ? (Yes: 1 / No: 0) |
void ML_SetNumberOfPads | ( | u8 | wiimotesNumber, | |
u8 | gc_padsNumber | |||
) |
This function sets the number of Wiimotes and GCN pads.
wiimotesNumber | Number of Wiimotes | |
gc_padsNumber | Number of GCN pads |