logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Availability

       This function is available since SDL 3.2.0.

Description

       This function requires an open joystick.

Function Parameters

joystick
              the SDL_Joystick obtained from SDL_OpenJoystick().

Name

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

Return Value

       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.

See Also

SDL_GetJoystickGUIDForID(3), SDL_GUIDToString(3)

Simple Directmedia Layer                           SDL 3.2.20                             SDL_GetJoystickGUID(3)

Synopsis

#include<SDL3/SDL_joystick.h>SDL_GUIDSDL_GetJoystickGUID(SDL_Joystick*joystick);

See Also