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