2011-09-27 21:52:55 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* libwiigui Template
|
|
|
|
* Tantric 2009
|
|
|
|
*
|
|
|
|
* input.h
|
|
|
|
* Wii/GameCube controller management
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _INPUT_H_
|
|
|
|
#define _INPUT_H_
|
|
|
|
|
|
|
|
#include <gccore.h>
|
|
|
|
#include <wiiuse/wpad.h>
|
|
|
|
|
2016-08-15 14:00:54 +02:00
|
|
|
#define PI 3.14159265f
|
2011-09-27 21:52:55 +02:00
|
|
|
#define PADCAL 50
|
2016-08-15 14:00:54 +02:00
|
|
|
#define WUPCCAL 400
|
2011-09-27 21:52:55 +02:00
|
|
|
|
|
|
|
extern int rumbleRequest[4];
|
|
|
|
|
|
|
|
void SetupPads();
|
|
|
|
void UpdatePads();
|
|
|
|
void ShutoffRumble();
|
|
|
|
void ShutdownPads();
|
|
|
|
void DoRumble(int i);
|
|
|
|
|
|
|
|
#endif
|