hidclass.sys: Set LinkUsage field in build_elements function.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
31cd586c8c
commit
37d129e8fe
|
@ -714,6 +714,7 @@ static void build_elements(WINE_HID_REPORT *wine_report, struct feature* feature
|
|||
wine_element->caps.button.ReportID = feature->caps.ReportID;
|
||||
wine_element->caps.button.BitField = feature->BitField;
|
||||
wine_element->caps.button.LinkCollection = feature->collection->index;
|
||||
wine_element->caps.button.LinkUsage = feature->collection->caps.u.NotRange.Usage[0];
|
||||
wine_element->caps.button.LinkUsagePage = feature->collection->caps.UsagePage;
|
||||
wine_element->caps.button.IsRange = feature->caps.IsRange;
|
||||
wine_element->caps.button.IsStringRange = feature->caps.IsStringRange;
|
||||
|
@ -751,6 +752,7 @@ static void build_elements(WINE_HID_REPORT *wine_report, struct feature* feature
|
|||
wine_element->caps.value.ReportID = feature->caps.ReportID;
|
||||
wine_element->caps.value.BitField = feature->BitField;
|
||||
wine_element->caps.value.LinkCollection = feature->collection->index;
|
||||
wine_element->caps.value.LinkUsage = feature->collection->caps.u.NotRange.Usage[0];
|
||||
wine_element->caps.value.LinkUsagePage = feature->collection->caps.UsagePage;
|
||||
wine_element->caps.value.IsRange = feature->caps.IsRange;
|
||||
wine_element->caps.value.IsStringRange = feature->caps.IsStringRange;
|
||||
|
|
Loading…
Reference in New Issue