#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 is passed to the callback function's result argument. WPAD_SYNC_EVT_DONE is passed to the callback function when simple pairing has completed. The number of Wii Remotes that could be registered is passed in num.
WPADStartSimpleSync, WPADStopSimpleSync
2007/07/10 2007/07/10 Made a change such that WPAD_SYNC_EVT_BUSY is no longer passed to the callback function.
2006/08/15 Initial version.
CONFIDENTIAL