src/joystick/SDL_joystick_c.h
changeset 11581 49393a9dffe4
parent 11201 813a8510bd0c
child 11811 5d94cb6b24d3
equal deleted inserted replaced
11579:5789a90f2804 11581:49393a9dffe4
    31 extern int SDL_GameControllerInitMappings(void);
    31 extern int SDL_GameControllerInitMappings(void);
    32 extern void SDL_GameControllerQuitMappings(void);
    32 extern void SDL_GameControllerQuitMappings(void);
    33 extern int SDL_GameControllerInit(void);
    33 extern int SDL_GameControllerInit(void);
    34 extern void SDL_GameControllerQuit(void);
    34 extern void SDL_GameControllerQuit(void);
    35 
    35 
    36 /* Locking for multi-threaded access to the joystick API */
       
    37 extern void SDL_LockJoystickList(void);
       
    38 extern void SDL_UnlockJoystickList(void);
       
    39 
       
    40 /* Function to extract information from an SDL joystick GUID */
    36 /* Function to extract information from an SDL joystick GUID */
    41 extern void SDL_GetJoystickGUIDInfo(SDL_JoystickGUID guid, Uint16 *vendor, Uint16 *product, Uint16 *version);
    37 extern void SDL_GetJoystickGUIDInfo(SDL_JoystickGUID guid, Uint16 *vendor, Uint16 *product, Uint16 *version);
    42 
    38 
    43 /* Function to return whether a joystick name and GUID is a game controller  */
    39 /* Function to return whether a joystick name and GUID is a game controller  */
    44 extern SDL_bool SDL_IsGameControllerNameAndGUID(const char *name, SDL_JoystickGUID guid);
    40 extern SDL_bool SDL_IsGameControllerNameAndGUID(const char *name, SDL_JoystickGUID guid);