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

SDL_GetJoystickGUIDForID - Get the implementation-dependent GUID of a joystick.

Defined in SDL3/SDL_joystick.h

#include "SDL3/SDL.h"
SDL_GUID SDL_GetJoystickGUIDForID(SDL_JoystickID instance_id);

This can be called before any joysticks are opened.

the joystick instance ID.

( SDL_GUID ) Returns the GUID of the selected joystick. If called with an invalid instance_id, this function returns a zero GUID.

This function is available since SDL 3.2.0.

(3), SDL_GetJoystickGUID(3), (3), SDL_GUIDToString(3)

SDL 3.2.10 Simple Directmedia Layer