hidclass.sys: Set LinkCollection 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
028e1ee3db
commit
5c01898c9d
|
@ -713,6 +713,7 @@ static void build_elements(WINE_HID_REPORT *wine_report, struct feature* feature
|
|||
wine_element->caps.button.UsagePage = feature->caps.UsagePage;
|
||||
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.IsRange = feature->caps.IsRange;
|
||||
wine_element->caps.button.IsStringRange = feature->caps.IsStringRange;
|
||||
wine_element->caps.button.IsDesignatorRange = feature->caps.IsDesignatorRange;
|
||||
|
@ -748,6 +749,7 @@ static void build_elements(WINE_HID_REPORT *wine_report, struct feature* feature
|
|||
wine_element->caps.value.UsagePage = feature->caps.UsagePage;
|
||||
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.IsRange = feature->caps.IsRange;
|
||||
wine_element->caps.value.IsStringRange = feature->caps.IsStringRange;
|
||||
wine_element->caps.value.IsDesignatorRange = feature->caps.IsDesignatorRange;
|
||||
|
|
Loading…
Reference in New Issue