hid: parser and HidP_SetUsageValue fix

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 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.

Merge request reports

Loading