2009-05-03 14:53:31 -04:00
|
|
|
#ifndef _WPAD_H_
|
|
|
|
#define _WPAD_H_
|
|
|
|
|
2009-06-05 11:43:32 -04:00
|
|
|
#include <wiiuse/wpad.h>
|
2009-05-03 14:53:31 -04:00
|
|
|
|
2009-07-30 01:41:12 -04:00
|
|
|
#ifdef __cplusplus
|
2010-09-18 19:16:05 -04:00
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
2009-05-03 14:53:31 -04:00
|
|
|
|
2009-07-30 01:41:12 -04:00
|
|
|
/* Prototypes */
|
2010-09-23 20:48:03 -04:00
|
|
|
s32 Wpad_Init(void);
|
|
|
|
void Wpad_Disconnect(void);
|
|
|
|
u32 ButtonsPressed(void);
|
|
|
|
u32 ButtonsHold(void);
|
2010-09-18 19:16:05 -04:00
|
|
|
bool IsWpadConnected();
|
2010-09-23 20:48:03 -04:00
|
|
|
void WPad_SetIdleTime(u32 seconds);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|