WPADGetAddress

C Specification

#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 );

Arguments

chan one of the WPAD_CHANn values.
addr A pointer to the buffer that copies the Wii Remote's unique ID.

Return Values

None.

Description

Gets the unique ID of the Wii Remote for the specified channel. The argument addr must have at least 6 bytes. If Wii Remote is not connected to the specified channel, zero is copied to the addr argument.

See Also

WPAD Functions

Revision History

2006/06/19 Initial version.


CONFIDENTIAL