Home | History | Annotate | Download | only in include

Lines Matching defs:SDL_Joystick

23 /** @file SDL_joystick.h
39 /** @file SDL_joystick.h
47 typedef struct _SDL_Joystick SDL_Joystick;
73 extern DECLSPEC SDL_Joystick * SDLCALL SDL_JoystickOpen(int device_index);
83 extern DECLSPEC int SDLCALL SDL_JoystickIndex(SDL_Joystick *joystick);
88 extern DECLSPEC int SDLCALL SDL_JoystickNumAxes(SDL_Joystick *joystick);
96 extern DECLSPEC int SDLCALL SDL_JoystickNumBalls(SDL_Joystick *joystick);
101 extern DECLSPEC int SDLCALL SDL_JoystickNumHats(SDL_Joystick *joystick);
106 extern DECLSPEC int SDLCALL SDL_JoystickNumButtons(SDL_Joystick *joystick);
134 extern DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis);
157 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);
166 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
173 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetButton(SDL_Joystick *joystick, int button);
178 extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick *joystick);