|
SDL 3.0
|
#include <SDL_hidapi.h>
Collaboration diagram for SDL_hid_device_info:Data Fields | |
| char * | path |
| unsigned short | vendor_id |
| unsigned short | product_id |
| wchar_t * | serial_number |
| unsigned short | release_number |
| wchar_t * | manufacturer_string |
| wchar_t * | product_string |
| unsigned short | usage_page |
| unsigned short | usage |
| int | interface_number |
| int | interface_class |
| int | interface_subclass |
| int | interface_protocol |
| SDL_hid_bus_type | bus_type |
| struct SDL_hid_device_info * | next |
hidapi info structure Information about a connected HID device
Definition at line 112 of file SDL_hidapi.h.
| SDL_hid_bus_type SDL_hid_device_info::bus_type |
Underlying bus type
Definition at line 150 of file SDL_hidapi.h.
| int SDL_hid_device_info::interface_class |
Additional information about the USB interface. Valid on libusb and Android implementations.
Definition at line 145 of file SDL_hidapi.h.
| int SDL_hid_device_info::interface_number |
The USB interface which this logical device represents.
Valid only if the device is a USB HID device. Set to -1 in all other cases.
Definition at line 141 of file SDL_hidapi.h.
| int SDL_hid_device_info::interface_protocol |
Definition at line 147 of file SDL_hidapi.h.
| int SDL_hid_device_info::interface_subclass |
Definition at line 146 of file SDL_hidapi.h.
| wchar_t* SDL_hid_device_info::manufacturer_string |
Manufacturer String
Definition at line 126 of file SDL_hidapi.h.
| struct SDL_hid_device_info* SDL_hid_device_info::next |
Pointer to the next device
Definition at line 153 of file SDL_hidapi.h.
| char* SDL_hid_device_info::path |
Platform-specific device path
Definition at line 115 of file SDL_hidapi.h.
| unsigned short SDL_hid_device_info::product_id |
Device Product ID
Definition at line 119 of file SDL_hidapi.h.
| wchar_t* SDL_hid_device_info::product_string |
Product string
Definition at line 128 of file SDL_hidapi.h.
| unsigned short SDL_hid_device_info::release_number |
Device Release Number in binary-coded decimal, also known as Device Version Number
Definition at line 124 of file SDL_hidapi.h.
| wchar_t* SDL_hid_device_info::serial_number |
Serial Number
Definition at line 121 of file SDL_hidapi.h.
| unsigned short SDL_hid_device_info::usage |
Usage for this Device/Interface (Windows/Mac/hidraw only)
Definition at line 134 of file SDL_hidapi.h.
| unsigned short SDL_hid_device_info::usage_page |
Usage Page for this Device/Interface (Windows/Mac/hidraw only)
Definition at line 131 of file SDL_hidapi.h.
| unsigned short SDL_hid_device_info::vendor_id |
Device Vendor ID
Definition at line 117 of file SDL_hidapi.h.