Function SDL_hid_get_device_info
pub unsafe extern "C" fn SDL_hid_get_device_info(
dev: *mut SDL_hid_device,
) -> *mut SDL_hid_device_info
Available on crate feature
dep_sdl3
only.Expand description
Get the device info from a HID device.
§Parameters
dev
: a device handle returned fromSDL_hid_open()
.
§Return value
Returns a pointer to the SDL_hid_device_info
for this hid_device or NULL
on failure; call SDL_GetError()
for more information. This struct
is valid until the device is closed with SDL_hid_close()
.
§Availability
This function is available since SDL 3.2.0.