SDL_GetJoystickGUIDInfo - Get the device information encoded in a SDL_GUID structure.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
guid the SDL_GUID you wish to get info about.
vendor a pointer filled in with the device VID, or 0 if not available.
product
a pointer filled in with the device PID, or 0 if not available.
version
a pointer filled in with the device version, or 0 if not available.
crc16 a pointer filled in with a CRC used to distinguish different products with the same VID/PID, or 0
if not available.
Name
SDL_GetJoystickGUIDInfo - Get the device information encoded in a SDL_GUID structure.
See Also
SDL_GetJoystickGUIDForID(3) Simple Directmedia Layer SDL 3.2.20 SDL_GetJoystickGUIDInfo(3)
Synopsis
#include<SDL3/SDL_joystick.h>voidSDL_GetJoystickGUIDInfo(SDL_GUIDguid,Uint16*vendor,Uint16*product,Uint16*version,Uint16*crc16);
