logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_hid_device_info - Information about a connected HID device

Availability

       This struct is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                         SDL_hid_device_info(3type)

Name

       SDL_hid_device_info - Information about a connected HID device

Synopsis

#include<SDL3/SDL_hidapi.h>typedefstructSDL_hid_device_info{/**Platform-specificdevicepath*/char*path;/**DeviceVendorID*/unsignedshortvendor_id;/**DeviceProductID*/unsignedshortproduct_id;/**SerialNumber*/wchar_t*serial_number;/**DeviceReleaseNumberinbinary-codeddecimal,alsoknownasDeviceVersionNumber*/unsignedshortrelease_number;/**ManufacturerString*/wchar_t*manufacturer_string;/**Productstring*/wchar_t*product_string;/**UsagePageforthisDevice/Interface(Windows/Mac/hidrawonly)*/unsignedshortusage_page;/**UsageforthisDevice/Interface(Windows/Mac/hidrawonly)*/unsignedshortusage;/**TheUSBinterfacewhichthislogicaldevicerepresents.ValidonlyifthedeviceisaUSBHIDdevice.Setto-1inallothercases.*/intinterface_number;/**AdditionalinformationabouttheUSBinterface.ValidonlibusbandAndroidimplementations.*/intinterface_class;intinterface_subclass;intinterface_protocol;/**Underlyingbustype*/SDL_hid_bus_typebus_type;/**Pointertothenextdevice*/structSDL_hid_device_info*next;}SDL_hid_device_info;

See Also