Home | History | Annotate | Download | only in SDL

Lines Matching defs:SDL_Joystick

25  "@(#) $Id: SDL_joystick.h,v 1.7 2004/07/18 19:05:06 slouken Exp $";
48 typedef struct _SDL_Joystick SDL_Joystick;
71 extern DECLSPEC SDL_Joystick * SDLCALL SDL_JoystickOpen(int device_index);
81 extern DECLSPEC int SDLCALL SDL_JoystickIndex(SDL_Joystick *joystick);
86 extern DECLSPEC int SDLCALL SDL_JoystickNumAxes(SDL_Joystick *joystick);
93 extern DECLSPEC int SDLCALL SDL_JoystickNumBalls(SDL_Joystick *joystick);
98 extern DECLSPEC int SDLCALL SDL_JoystickNumHats(SDL_Joystick *joystick);
103 extern DECLSPEC int SDLCALL SDL_JoystickNumButtons(SDL_Joystick *joystick);
126 extern DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick *joystick, int axis);
144 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick *joystick, int hat);
151 extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick *joystick, int ball, int *dx, int *dy);
157 extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetButton(SDL_Joystick *joystick, int button);
162 extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick *joystick);