pcem/src/plat-joystick.h
TomW 56b455844e Initial port to Linux (using Allegro).
64-bit fixes.
Some changes to aid portability.
A few other tweaks.
2014-09-04 21:07:24 +01:00

18 lines
No EOL
393 B
C

#ifdef __cplusplus
extern "C" {
#endif
void joystick_init();
void joystick_close();
void joystick_poll();
typedef struct joystick_t
{
int x, y;
int b[4];
} joystick_t;
extern joystick_t joystick_state[2];
extern int joysticks_present;
#ifdef __cplusplus
}
#endif