#include <revolution/wpad.h> #define WPAD_CHAN0 0 #define WPAD_CHAN1 1 #define WPAD_CHAN2 2 #define WPAD_CHAN3 3 #define WPAD_ADDR_LEN 6 void WPADGetAddress( s32 chan, u8 *addr );
| chan | One of the WPAD_CHANn values. |
|---|---|
| addr | A pointer to the buffer that copies the Wii Remote's unique ID. |
None.
Gets the unique ID of the Wii Remote for the specified channel. The addr argument must have at least 6 bytes. If a Wii Remote is not connected to the specified channel, zero is copied to the addr argument.
None.
2006/06/19 Initial version.
CONFIDENTIAL