#include <revolution/kpad.h> u8 KPADGetMplsStatus( s32 chan );
| chan | One of the WPAD_CHANn values. |
|---|
One of the WPAD_MPLS_* values.
Calls the WPADGetMplsStatus function internally to determine if a started Wii MotionPlus is plugged into the specified Wii Remote, and if so, whether other controllers are connected.
A value of WPAD_MPLS_OFF is returned if a Wii MotionPlus is not plugged into the Wii Remote or if the Wii MotionPlus has not finished being started. WPAD_MPLS_STD is returned when the Wii MotionPlus is started and only the Wii MotionPlus is running. WPAD_MPLS_FS is returned when the Wii MotionPlus and a Nunchuk are running. WPAD_MPLS_CL is returned when the Wii MotionPlus and a Classic Controller are running.
2008/12/04 Added an explanation of WPAD_MPLS_FS and WPAD_MPLS_CL.
2008/07/22 Initial version.
CONFIDENTIAL