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

void KPADInit( void );



Return Values



This function initializes the KPAD library. This function must be called once before calling any other KPAD functions. WPADInit is called inside this function.

Wii U Bluetooth devices will stay connected through system restarts and process switches but only if the time that the library is stopped is less than 10 seconds. For this reason, KPAD initialization should be performed early in the boot up process.

When this function is called, KPADInitEx(NULL,0) is called internally.

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


Revision History

2013/05/08 Automated cleanup pass.
2012/06/27 Removed references to WPADRegisterAllocator
2008/05/29 Reverted the API to its former version. Added the KPADInitEx function to See Also.
2008/03/26 Modified the API so that the ring buffer used internally by the library is passed to it from the application.
2006/10/25 Revised the description to match KPAD version 2.
2006/06/19 Added a note specific to initialization.
2006/03/01 Initial version.