mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 02:17:39 +00:00
Added interface_class, interface_subclass, and interface_protocol to USB device info
Currently only filled in for libusb
This commit is contained in:
parent
55ed69fc9a
commit
003a9b9666
3 changed files with 21 additions and 6 deletions
|
@ -1057,9 +1057,9 @@ CopyHIDDeviceInfo(struct hid_device_info *pSrc, struct SDL_hid_device_info *pDst
|
|||
pDst->usage_page = pSrc->usage_page;
|
||||
pDst->usage = pSrc->usage;
|
||||
pDst->interface_number = pSrc->interface_number;
|
||||
//pDst->interface_class = pSrc->interface_class;
|
||||
//pDst->interface_subclass = pSrc->interface_subclass;
|
||||
//pDst->interface_protocol = pSrc->interface_protocol;
|
||||
pDst->interface_class = pSrc->interface_class;
|
||||
pDst->interface_subclass = pSrc->interface_subclass;
|
||||
pDst->interface_protocol = pSrc->interface_protocol;
|
||||
pDst->next = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue