src/joystick/SDL_joystick_c.h
changeset 10226 cb13d22b7f09
parent 9998 f67cf37e9cd4
child 10688 f910d0498992
equal deleted inserted replaced
10225:3134026517cb 10226:cb13d22b7f09
    31 extern int SDL_GameControllerInit(void);
    31 extern int SDL_GameControllerInit(void);
    32 extern void SDL_GameControllerQuit(void);
    32 extern void SDL_GameControllerQuit(void);
    33 
    33 
    34 
    34 
    35 /* Internal event queueing functions */
    35 /* Internal event queueing functions */
       
    36 extern void SDL_PrivateJoystickAdded(int device_index);
       
    37 extern void SDL_PrivateJoystickRemoved(SDL_JoystickID device_instance);
    36 extern int SDL_PrivateJoystickAxis(SDL_Joystick * joystick,
    38 extern int SDL_PrivateJoystickAxis(SDL_Joystick * joystick,
    37                                    Uint8 axis, Sint16 value);
    39                                    Uint8 axis, Sint16 value);
    38 extern int SDL_PrivateJoystickBall(SDL_Joystick * joystick,
    40 extern int SDL_PrivateJoystickBall(SDL_Joystick * joystick,
    39                                    Uint8 ball, Sint16 xrel, Sint16 yrel);
    41                                    Uint8 ball, Sint16 xrel, Sint16 yrel);
    40 extern int SDL_PrivateJoystickHat(SDL_Joystick * joystick,
    42 extern int SDL_PrivateJoystickHat(SDL_Joystick * joystick,
    41                                   Uint8 hat, Uint8 value);
    43                                   Uint8 hat, Uint8 value);
    42 extern int SDL_PrivateJoystickButton(SDL_Joystick * joystick,
    44 extern int SDL_PrivateJoystickButton(SDL_Joystick * joystick,
    43                                      Uint8 button, Uint8 state);
    45                                      Uint8 button, Uint8 state);
    44 extern void SDL_PrivateJoystickBatteryLevel( SDL_Joystick * joystick,
    46 extern void SDL_PrivateJoystickBatteryLevel(SDL_Joystick * joystick,
    45     SDL_JoystickPowerLevel ePowerLevel );
    47                                             SDL_JoystickPowerLevel ePowerLevel);
    46 
    48 
    47 /* Internal sanity checking functions */
    49 /* Internal sanity checking functions */
    48 extern int SDL_PrivateJoystickValid(SDL_Joystick * joystick);
    50 extern int SDL_PrivateJoystickValid(SDL_Joystick * joystick);
    49 
    51 
    50 /* vi: set ts=4 sw=4 expandtab: */
    52 /* vi: set ts=4 sw=4 expandtab: */