Function sdl2_sys::SDL_GetJoystickGUIDInfo
source ยท pub unsafe extern "C" fn SDL_GetJoystickGUIDInfo(
guid: SDL_JoystickGUID,
vendor: *mut Uint16,
product: *mut Uint16,
version: *mut Uint16,
crc16: *mut Uint16,
)
Expand description
Get the device information encoded in a SDL_JoystickGUID structure
\param guid the SDL_JoystickGUID you wish to get info about \param vendor A pointer filled in with the device VID, or 0 if not available \param product A pointer filled in with the device PID, or 0 if not available \param version A pointer filled in with the device version, or 0 if not available \param crc16 A pointer filled in with a CRC used to distinguish different products with the same VID/PID, or 0 if not available
\since This function is available since SDL 2.26.0.
\sa SDL_JoystickGetDeviceGUID