[PATCH v2] hidclass: All reports read or written to user space lead with a reportId

Aric Stewart aric at codeweavers.com
Mon Nov 14 08:54:30 CST 2016


This is a little confusing because reports to and from the device
itself only have a leading reportId if the reportid is not 0.
Otherwise there is no leading reportId. So we need to add a 0 reportId
to reports coming from such a device and strip the leading 0 from
reports written to the device.

v2: Suggestions from Sebastian Lackner
Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
 dlls/hidclass.sys/descriptor.c | 31 ++++----------
 dlls/hidclass.sys/device.c     | 94 ++++++++++++++++++++++++++++--------------
 dlls/winebus.sys/bus_udev.c    | 38 ++++++++++++++++-
 3 files changed, 107 insertions(+), 56 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-hidclass-All-reports-read-or-written-to-user-space-.txt
Type: text/x-patch
Size: 11840 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20161114/2786b676/attachment.bin>


More information about the wine-patches mailing list