#ifndef MVRC_JOYSTICK #define MVRC_JOYSTICK #ifdef __cplusplus extern "C" { #endif #define JOYSTICKMAX 100 #define JOYSTICKMIN (-JOYSTICKMAX) extern int hasJoystick; /* boolean, 1=joystick found */ extern int joyX, joyY; /* center position of joystick */ extern void init_Joystick(void); extern int read_Joystick(JOYINFOEX *ji); #ifdef __cplusplus } #endif #endif