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