WPADGetDpdFormat

Syntax

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

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

#define WPAD_DPD_OFF             0
#define WPAD_DPD_STD             1
#define WPAD_DPD_EXP             3
#define WPAD_DPD_FULL		 5

u8 WPADGetDpdFormat( s32 chan );

Parameters

chan One of the WPAD_CHANn values.

Return Values

One of the WPAD_DPD_* values.

Description

Gets the data format of the Pointer of the specified Wii remote. WPAD_DPD_OFF is returned when Pointer is not being used.

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.

Revision History

2013/05/08 Automated cleanup pass.
2006/10/23 Initial version.


CONFIDENTIAL