00001 00009 #ifndef JOYSTICK_SDL_H_DEF 00010 #define JOYSTICK_SDL_H_DEF 00011 00012 00013 int joystick_init(); 00014 00015 00016 void joystick_getXYZR(float *X, float *Y, float *Z, float *R, bool doX, bool doY, bool doZ, bool doR); 00017 00018 00019 00020 void joystick_close(); 00021 00022 int is_there_a_joystick(); 00023 00024 #endif 00025
1.4.7