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:
Andrew Eikum 2019-05-15 14:57:44 -05:00 committed by Alexandre Julliard
parent 044461e8a6
commit 042e062569
1 changed files with 1 additions and 0 deletions

View File

@ -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;