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>
|
|
|
|
|
2010-09-19 01:16:05 +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-19 01:16:05 +02:00
|
|
|
void DoRumble( int i );
|
2009-10-01 01:10:58 +02:00
|
|
|
|
|
|
|
#endif
|