src/joystick/SDL_joystick_c.h
changeset 4472 791b3256fb22
parent 3697 f7b03b6838cb
child 5262 b530ef003506
equal deleted inserted replaced
4471:11cedc036ca1 4472:791b3256fb22
    25 #include "SDL_joystick.h"
    25 #include "SDL_joystick.h"
    26 
    26 
    27 /* The number of available joysticks on the system */
    27 /* The number of available joysticks on the system */
    28 extern Uint8 SDL_numjoysticks;
    28 extern Uint8 SDL_numjoysticks;
    29 
    29 
       
    30 /* Initialization and shutdown functions */
       
    31 extern int SDL_JoystickInit(void);
       
    32 extern void SDL_JoystickQuit(void);
       
    33 
    30 /* Internal event queueing functions */
    34 /* Internal event queueing functions */
    31 extern int SDL_PrivateJoystickAxis(SDL_Joystick * joystick,
    35 extern int SDL_PrivateJoystickAxis(SDL_Joystick * joystick,
    32                                    Uint8 axis, Sint16 value);
    36                                    Uint8 axis, Sint16 value);
    33 extern int SDL_PrivateJoystickBall(SDL_Joystick * joystick,
    37 extern int SDL_PrivateJoystickBall(SDL_Joystick * joystick,
    34                                    Uint8 ball, Sint16 xrel, Sint16 yrel);
    38                                    Uint8 ball, Sint16 xrel, Sint16 yrel);