mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-09-09 09:03:20 +02:00
![mauricewoelk](/assets/img/avatar_default.png)
*added 2 functions (by dimok) to wpad.c: bool IsWpadConnected(); void WPad_SetIdleTime(u32 seconds);
24 lines
329 B
C
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
|