SDL_GetJoystickGUID(3)

SDL_GetJoystickGUID3

Get the implementation-dependent guid for the joystick.

Usage

#include "SDL3/SDL.h"

SDL_GUID SDL_GetJoystickGUID(SDL_Joystick *joystick);

Header file

Defined in SDL3/SDL_joystick.h

Overview

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.