src/joystick/SDL_joystick_c.h
changeset 7191 75360622e65f
parent 6885 700f1b25f77f
child 8093 b43765095a6f
equal deleted inserted replaced
7190:11612d544fcd 7191:75360622e65f
    39                                    Uint8 ball, Sint16 xrel, Sint16 yrel);
    39                                    Uint8 ball, Sint16 xrel, Sint16 yrel);
    40 extern int SDL_PrivateJoystickHat(SDL_Joystick * joystick,
    40 extern int SDL_PrivateJoystickHat(SDL_Joystick * joystick,
    41                                   Uint8 hat, Uint8 value);
    41                                   Uint8 hat, Uint8 value);
    42 extern int SDL_PrivateJoystickButton(SDL_Joystick * joystick,
    42 extern int SDL_PrivateJoystickButton(SDL_Joystick * joystick,
    43                                      Uint8 button, Uint8 state);
    43                                      Uint8 button, Uint8 state);
    44 									 
    44 
    45 /* Helper function to let lower sys layer tell the event system if the joystick code needs to think */
    45 /* Helper function to let lower sys layer tell the event system if the joystick code needs to think */
    46 extern SDL_bool SDL_PrivateJoystickNeedsPolling();
    46 extern SDL_bool SDL_PrivateJoystickNeedsPolling();
    47 
    47 
    48 /* Internal sanity checking functions */
    48 /* Internal sanity checking functions */
    49 extern int SDL_PrivateJoystickValid(SDL_Joystick * joystick);
    49 extern int SDL_PrivateJoystickValid(SDL_Joystick * joystick);