#include <revolution/wpad.h>
#define WPAD_CHAN0 0
#define WPAD_CHAN1 1
#define WPAD_CHAN2 2
#define WPAD_CHAN3 3
void WPADRead( s32 chan, void *status );
chan |
One of WPAD_CHANn values. |
status |
Pointer to the WPADStatus structure. This structure must correspond to the data format specified by the WPADSetDataFormat function. If the status of the Wii Remote is valid, the err member holds WPAD_ERR_NONE; otherwise it holds another error status. |
None.
Obtains the most recent status of the Wii Remote on the specified channel. This can be used together with WPADSetAutoSamplingBuf.
WPAD Functions
WPADSetAutoSamplingBuf
WPADStatus
WPADFSStatus
WPADCLStatus
WPADStatusEx
Changed API specs.
08/01/2005 Initial version.
CONFIDENTIAL