[PATCH] hid: Implement HidP_GetUsageValueArray.
Piotr Caban
piotr.caban at gmail.com
Thu Feb 27 04:01:36 CST 2020
Hi Gabriel,
> On 26 Feb 2020, at 14:03, Gabriel Ivăncescu <gabrielopcode at gmail.com> wrote:
> + if (element.caps.value.IsRange || element.caps.value.ReportCount <= 1 || !element.bitCount)
> + return HIDP_STATUS_NOT_VALUE_ARRAY;
Do you know what happens when usages range and reports count doesn’t match?
I’m asking about a HID descriptor that looks like that:
USAGE_MINIMUM 1
USAGE_MAXIMUM 2
REPORT_SIZE 8
REPORT_COUNT 20
INPUT …
I wonder if the remaining reports are used as padding or if USAGE 2 is a value array.
Thanks,
Piotr
More information about the wine-devel
mailing list