WPADGetMplsStatus

Syntax

#include <revolution/wpad.h>

#define WPAD_CHAN0               0
#define WPAD_CHAN1               1
#define WPAD_CHAN2               2
#define WPAD_CHAN3               3

#define WPAD_MPLS_OFF            0
#define WPAD_MPLS_STD            4
#define WPAD_MPLS_EXP            5
#define WPAD_MPLS_FS             5
#define WPAD_MPLS_CL             7

u8 WPADGetMplsStatus( s32 chan );

Arguments

chan One of the WPAD_CHANn values.

Return Values

One of the WPAD_MPLS_* values.

Description

This function has been removed from use. Please use the KPAD library if you are using the Wii MotionPlus.

Gets whether a running Wii MotionPlus is plugged into the Wii Remote on the specified channel and, if plugged in, its operational mode.

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. If the Wii MotionPlus is running, the specified operational mode is returned by the WPADControlMpls function.

Note: The operating mode retrieved by this function is independent of the device type obtained by the WPADProbe function. For example, even if the operating mode is WPAD_MPLS_STD, the WPAD_DEV_MPLS_FREESTYLE device type results if a Nunchuk is plugged into the Wii MotionPlus. Even if the device type is WPAD_DEV_MPLS_FREESTYLE, the operating mode remains WPAD_MPLS_STD and only data for the Wii MotionPlus is sent to the Wii console.

See Also

WPADControlMpls
WPADProbe

Revision History

2009/07/27 Explained that this has been made obsolete starting with SDK 3.3.
2008/12/08 Added notes.
2008/09/30 Added WPAD_MPLS_FS and WPAD_MPLS_CL.
2008/07/18 Initial version.


CONFIDENTIAL