#include <cafe/pads/wpad/wpad.h> #define WPAD_CHAN0 0 #define WPAD_CHAN1 1 #define WPAD_CHAN2 2 #define WPAD_CHAN3 3 BOOL WPADDetachDummyExtension( s32 chan );
chan | One of the WPAD_CHANn values. |
---|
If the device type is restored successfully to WPAD_DEV_CORE
, returns TRUE
; otherwise, returns FALSE
.
For the Wii remote on the specified channel, changes the device type to WPAD_DEV_CORE
. If the device type has been changed with the WPADAttachDummyExtension
function, use this function to restore the device type to its original status.
FALSE
is always the return value.
Background | Do not call this function from the background. |
---|---|
Interrupt handler | Do not call this function from any interrupt handler. |
Exception handler | Do not call this function from any exception handler. |
Production code | Do not call this function in production code. It is available only for debugging purposes. |
Multiple Cores | Do not call this function from more than one Core. |
2013-05-08 Automated cleanup pass.
2007-05-02 Changed so that FALSE
is always returned with the release version.
2007-04-18 Initial version.
CONFIDENTIAL