mirror of
https://github.com/RPCS3/hidapi.git
synced 2025-02-20 02:30:49 +00:00

The interface number is added to the hid_device_info struct. Since the Linux/libusb implementation can't put the Usage and Usage Page in the hid_device_info struct because it requires detaching the kernel driver, the interface number is added instead so that users with composite HID devices can differentiate between the interfaces on the device.