This fixes two things:
* HID report descriptor parser enum for local items. Close inspection of page 40 of [Device Class Definition for HID 1.11](https://www.usb.org/document-library/device-class-definition-hid-111) reveals a jump between Designator Maximum (0101) and String Index (0111). This caused a controller of mine to not get recognized.
* HidP_SetUsageValue for items that define multiple controls (with Report Count > 1). Attempting to set one value would result in HIDP_STATUS_BUFFER_TOO_SMALL.
--
v2: hid: Fix HidP_SetUsageValue for usage ranges
https://gitlab.winehq.org/wine/wine/-/merge_requests/1448
This fixes two things:
* HID report descriptor parser enum for local items. Close inspection of page 40 of [Device Class Definition for HID 1.11](https://www.usb.org/document-library/device-class-definition-hid-111) reveals a jump between Designator Maximum (0101) and String Index (0111). This caused a controller of mine to not get recognized.
* HidP_SetUsageValue for items that define multiple controls (with Report Count > 1). Attempting to set one value would result in HIDP_STATUS_BUFFER_TOO_SMALL.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1448
On Thu Nov 10 10:18:50 2022 +0000, Jason Kuo wrote:
> Understood, will do more tests to check if the function actually works
> before updating the patch.
Just found out that my tests about InternetSetFilePointer doesn't work at all, mark the thread as unresolved.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1268#note_16513