diff --git a/dlls/hid/hidp.c b/dlls/hid/hidp.c index bfdc8881463..2c4e98ad541 100644 --- a/dlls/hid/hidp.c +++ b/dlls/hid/hidp.c @@ -263,6 +263,7 @@ static NTSTATUS find_value(HIDP_REPORT_TYPE ReportType, USAGE UsagePage, USHORT else if (report->Elements[i].caps.value.u.NotRange.Usage == Usage) { *element = report->Elements[i]; + element->bitCount = value->BitSize; return HIDP_STATUS_SUCCESS; } }