#include <revolution/kpad.h> void KPADDisableDPD( s32 chan );
| chan | One of the WPAD_CHANn values. |
|---|
None.
This function internally calls the WPADControlDpd and WPADSetDataFormat functions, and issues requests to turn off the DPD module for the Wii remote and to change the data format. Turning the DPD module OFF is a way to reduce the Wii Remote's power consumption.
The library attempts to issue requests when data is received from the Wii Remote. If issuing a request fails, the system tries again the next time data is received. If issuing a request succeeds, the timer in the WPAD library for automatically disconnecting is reset because the data format changes.
KPADEnableDPD
WPADControlDpd
WPADSetDataFormat
2008/03/17 Added mention that the data format changes and that the timer for automatic disconnection is reset.
2006/09/07 Initial version.
CONFIDENTIAL