Commit ee4e33ed authored by Arkadiusz Hiler's avatar Arkadiusz Hiler Committed by Alexandre Julliard

winebus.sys: Remove incorrect Report ID from the bus_sdl HID report descriptor.

According to "USB Device Class Definition for Human Interface Devices Firmware Specification Version 1.11" Report ID 0 is reserved and should not be used. On top of that if Report ID is used anywhere in the descriptor the reports are expected to be prepended with an ID and this is not the case for bus_sdl devices. It worked only because our current HID parser implementation treats the Report ID 0 as there would be none. Signed-off-by: 's avatarArkadiusz Hiler <ahiler@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 4cb6334b
......@@ -199,7 +199,6 @@ static const BYTE CONTROLLER_TRIGGERS [] = {
static const BYTE HAPTIC_RUMBLE[] = {
0x06, 0x00, 0xff, /* USAGE PAGE (vendor-defined) */
0x09, 0x01, /* USAGE (1) */
0x85, 0x00, /* REPORT_ID (0) */
/* padding */
0x95, 0x02, /* REPORT_COUNT (2) */
0x75, 0x08, /* REPORT_SIZE (8) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment