KPADShutdown

Syntax

#include <cafe/pads/kpad/kpad.h>

void KPADShutdown( void );

Parameters

None.

Return Values

None.

Description

Stops the KPAD library.

The KPAD library registers callback functions in the WPAD library. Specifically, it registers the callback function called when data is received from a Wii remote to the WPADSetSamplingCallback function, and the callback function called on Wii remote connection/disconnection to the WPADSetConnectCallback function. Calling KPADShutdown will eliminate the internal callbacks in the functions listed above, but user callbacks registered by the application in the WPAD library will not be affected.

Do Not Call From

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.
Multiple Cores Do not call this function from more than one Core.

See Also

WPADSetSamplingCallback
WPADSetConnectCallback

Revision History

2013/05/08 Automated cleanup pass.
2008/04/17 Initial version.


CONFIDENTIAL