Man page - sdl_getjoystickguid(3)

Packages contains this manual

Manual

SDL_GetJoystickGUID

NAME
HEADER FILE
SYNOPSIS
DESCRIPTION
FUNCTION PARAMETERS
RETURN VALUE
AVAILABILITY
SEE ALSO

NAME

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

HEADER FILE

Defined in SDL3/SDL_joystick.h

SYNOPSIS

#include "SDL3/SDL.h"

SDL_GUID SDL_GetJoystickGUID(SDL_Joystick *joystick);

DESCRIPTION

This function requires an open joystick.

FUNCTION PARAMETERS

joystick

the SDL_Joystick
obtained from SDL_OpenJoystick ().

RETURN VALUE

( 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.

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

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