Scroll to navigation

SDL_GetJoystickGUIDFromString(3) SDL3 FUNCTIONS SDL_GetJoystickGUIDFromString(3)

NAME

SDL_GetJoystickGUIDFromString - Convert a GUID string into a SDL_JoystickGUID
structure.

SYNOPSIS

#include "SDL3/SDL.h"
SDL_JoystickGUID SDL_GetJoystickGUIDFromString(const char *pchGUID);

DESCRIPTION

Performs no error checking. If this function is given a string containing an invalid GUID, the function will silently succeed, but the GUID generated will not be useful.

FUNCTION PARAMETERS

string containing an ASCII representation of a GUID

RETURN VALUE

Returns a SDL_JoystickGUID
structure.

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_GetJoystickGUIDString(3)

SDL 3.1.0 SDL