Get the implementation-dependent GUID for the joystick at a given device index.
Defined in SDL_joystick.h
int device_index); SDL_JoystickGUID SDL_JoystickGetDeviceGUID(
int | device_index | the index of the joystick to query (the N'th joystick on the system. |
(SDL_JoystickGUID) Returns the GUID of the selected joystick. If called on an invalid index, this function returns a zero GUID.
This function can be called before any joysticks are opened.
This function is available since SDL 2.0.0.