mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-11-14 21:35:13 +01:00
28 lines
539 B
C
28 lines
539 B
C
/****************************************************************************
|
|
* libwiigui Template
|
|
* Tantric 2009
|
|
*
|
|
* input.h
|
|
* Wii/GameCube controller management
|
|
***************************************************************************/
|
|
|
|
#ifndef _INPUT_H_
|
|
#define _INPUT_H_
|
|
|
|
#include <gccore.h>
|
|
#include <wiiuse/wpad.h>
|
|
|
|
#define PI 3.14159265f
|
|
#define PADCAL 50
|
|
#define WUPCCAL 400
|
|
|
|
extern int rumbleRequest[4];
|
|
|
|
void SetupPads();
|
|
void UpdatePads();
|
|
void ShutoffRumble();
|
|
void ShutdownPads();
|
|
void DoRumble(int i);
|
|
|
|
#endif
|