homebrewfilter/main/source/input.h

28 lines
539 B
C
Raw Normal View History

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>
#define PI 3.14159265f
2011-09-27 21:52:55 +02:00
#define PADCAL 50
#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