DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetJoystickGUID.3.en
SDL_GetJoystickGUID(3) SDL3 FUNCTIONS SDL_GetJoystickGUID(3)

SDL_GetJoystickGUID - Get the implementation-dependent GUID for the joystick.

Defined in SDL3/SDL_joystick.h

#include "SDL3/SDL.h"
SDL_GUID SDL_GetJoystickGUID(SDL_Joystick *joystick);

This function requires an open joystick.

the SDL_Joystick
obtained from SDL_OpenJoystick ().

( SDL_GUID ) Returns the GUID of the given joystick. If called on an invalid index, this function returns a zero GUID; call

SDL_GetError () for more information.

This function is available since SDL 3.2.0.

(3), SDL_GetJoystickGUIDForID(3), (3), SDL_GUIDToString(3)

SDL 3.2.10 Simple Directmedia Layer