Lines Matching refs:SDL_Joystick
44 typedef struct _SDL_Joystick SDL_Joystick; typedef
67 extern DECLSPEC SDL_Joystick * SDLCALL SDL_JoystickOpen(int device_index);
77 extern DECLSPEC int SDLCALL SDL_JoystickIndex(SDL_Joystick *joystick);
82 extern DECLSPEC int SDLCALL SDL_JoystickNumAxes(SDL_Joystick *joystick);
89 extern DECLSPEC int SDLCALL SDL_JoystickNumBalls(SDL_Joystick *joystick);
94 extern DECLSPEC int SDLCALL SDL_JoystickNumHats(SDL_Joystick *joystick);
99 extern DECLSPEC int SDLCALL SDL_JoystickNumButtons(SDL_Joystick *joystick);
122 extern DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis);
140 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);
147 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
153 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetButton(SDL_Joystick *joystick, int button);
158 extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick *joystick);