#include <revolution/wpad.h>
#define WPAD_SYNC_EVT_BUSY -1
#define WPAD_SYNC_EVT_START 0
#define WPAD_SYNC_EVT_DONE 1
typedef void (*WPADSyncDeviceCallback) ( s32 result, s32 num );
WPADSyncDeviceCallback WPADSetSimpleSyncCallback( WPADSyncDeviceCallback callback )
callback |
Sets the callback to be called when simple registration has ended. |
A pointer to the previously set callback.
Sets the callback to be called when simple registration has ended.
One of the WPAD_SYNC_EVT_* set is passed as the result argument for the callback function.
WPAD_SYNC_EVT_BUSY | Other processes (including registration or simple registration) are currently running. |
WPAD_SYNC_EVT_DONE | Simple registration has ended. The number of the Wii Remote registered is passed to num. |
WPAD Functions
WPADStartSimpleSync
WPADStopSimpleSync
08/15/2006 Initial version.
CONFIDENTIAL