winebus.sys: Fix report length calculation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47188 Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
044461e8a6
commit
042e062569
|
@ -553,6 +553,7 @@ static BOOL build_mapped_report_descriptor(struct platform_private *ext)
|
|||
descript_size += sizeof(CONTROLLER_TRIGGERS);
|
||||
descript_size += sizeof(CONTROLLER_BUTTONS);
|
||||
descript_size += sizeof(REPORT_HATSWITCH);
|
||||
descript_size += sizeof(REPORT_PADDING);
|
||||
descript_size += test_haptic(ext);
|
||||
|
||||
ext->axis_start = 0;
|
||||
|
|
Loading…
Reference in New Issue