xinput1_3: Use input report length from HIDP_CAPS.
commitcfb24768d10d615e878fff5e3ed2bbfbea49e9c0
authorRémi Bernon <rbernon@codeweavers.com>
Mon, 7 Jun 2021 17:37:57 +0000 (7 19:37 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Jun 2021 19:26:21 +0000 (7 21:26 +0200)
tree8fa62f332acd5caae8306b64d5065f03d8131fe0
parent11a25dec95793187cc3464e76abdf870483350d1
xinput1_3: Use input report length from HIDP_CAPS.

And swap input report buffers instead of adding an index.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/xinput1_3/hid.c