usbloadergx/source/wpad.h
mauricewoelk 383aaa45e5 *added a little screensaver which depends on the wiimote timeout (for now set to 300 seconds)
*added 2 functions (by dimok) to wpad.c: bool IsWpadConnected();
void WPad_SetIdleTime(u32 seconds);
2009-06-18 07:36:23 +00:00

24 lines
329 B
C

#ifndef _WPAD_H_
#define _WPAD_H_
#include <wiiuse/wpad.h>
#ifdef __cplusplus
extern "C"
{
#endif
/* Prototypes */
s32 Wpad_Init(void);
void Wpad_Disconnect(void);
u32 ButtonsPressed(void);
u32 ButtonsHold(void);
bool IsWpadConnected();
void WPad_SetIdleTime(u32 seconds);
#ifdef __cplusplus
}
#endif
#endif