WPADIsMplsIntegrated

Syntax

#include <cafe/pads/wpad/wpad.h>

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

s8   WPADIsMplsIntegrated         ( s32 chan );

Parameters

chan One of the WPAD_CHANn values.

Return Values

WPAD_MPLS_TYPE_INTEGRATEDThe controller is Wii Remote Plus.
WPAD_MPLS_TYPE_STANDARDThe controller is Wii Remote. It is of no importance for the Wii MotionPlus to be connected.
WPAD_MPLS_TYPE_READINGReading the controller type

Description

Check if the controller is "Wii Remote Plus".

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

See Also

WPADIsMplsAttached

Revision History

2013/05/08 Automated cleanup pass.
2012/04/04 Initial version.


CONFIDENTIAL