2009-10-01 01:10:58 +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>
|
|
|
|
|
2011-07-26 00:28:22 +02:00
|
|
|
#define PI 3.14159265f
|
|
|
|
#define PADCAL 50
|
2009-10-01 01:10:58 +02:00
|
|
|
|
|
|
|
extern int rumbleRequest[4];
|
|
|
|
|
2010-09-17 19:48:16 +02:00
|
|
|
void SetupPads();
|
|
|
|
void UpdatePads();
|
2009-10-01 01:10:58 +02:00
|
|
|
void ShutoffRumble();
|
2010-09-24 02:48:03 +02:00
|
|
|
void DoRumble(int i);
|
2011-01-02 10:23:44 +01:00
|
|
|
void SetWPADTimeout();
|
2009-10-01 01:10:58 +02:00
|
|
|
|
|
|
|
#endif
|