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

Aric Stewart aric at codeweavers.com
Mon Nov 14 07:35:37 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.

Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
 dlls/hidclass.sys/descriptor.c | 31 ++++-----------
 dlls/hidclass.sys/device.c     | 90 ++++++++++++++++++++++++++++--------------
 2 files changed, 67 insertions(+), 54 deletions(-)


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


More information about the wine-patches mailing list