https://bugs.winehq.org/show_bug.cgi?id=42675
--- Comment #36 from winetest@luukku.com --- (In reply to Alexandr Oleynikov from comment #35)
Created attachment 64957 [details] rawinput patch
Yep, here it is in a form of a single patch. To apply it on top of staging, you need to disable mouse-movements patchset (this patch has a re-implementation of it).
has it been upstreamed by now? wine-staging has upstreamed some patches and during rebase of code this bug was mentioned.