#include <revolution/wpad.h>
#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.
WPAD_SYNC_EVT_DONE will be passed to the result argument of the callback function. WPAD_SYNC_EVT_DONE will be passed to the callback function when the simple pairing process has completed, and the number of registered Wii Remotes will be passed to num.
WPAD Functions
WPADStartSimpleSync, WPADStopSimpleSync
2007/07/10 Changed such that WPAD_SYNC_EVT_BUSY will no longer be passed to the callback function.
2006/08/15 Initial version.
CONFIDENTIAL