https://bugs.winehq.org/show_bug.cgi?id=28488
--- Comment #34 from vv221 vv221@dotslashplay.it --- It took a while, but I managed to pinpoint the commit that fixes this bug in wine-staging-1.7.48. Here is the relevant patch: https://github.com/wine-compholio/wine-staging/blob/master/patches/dinput-Ev...
It means this bug is most probably a duplicate of #8854 and #34559.
Thanks to slackner who guided me on #wine-staging (freenode) through the process of hunting down this patch ;)