https://bugs.winehq.org/show_bug.cgi?id=46623
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- (In reply to Béla Gyebrószki from comment #8)
I don't own that Nier:Automata game, but I'm also experiencing the reported weird behaviour in certain games when a gamepad is attached. Such games are Geometry Wars or Air Conflicts: Pacific Wars. When I'm pressing the right movement stick the in-game character, airplane etc. is moving/turning to the left.
The result of my regression test:
commit bd9e130ee5b569433f2c847c5b2b562f0ae35ac5 Author: Zebediah Figura zfigura@codeweavers.com Date: Tue Feb 5 13:09:38 2019 -0600
winebus.sys: Translate SDL controller axes to unsigned 32-bit values. INSIDE parses the HID report directly and assumes that the logical minimum value is 0.Reverting the patch fixes the problem in the affected games.
The Geometry Wars time-limited demo can be used to reproduce the problem.
Geometry.exe (60 MB) md5sum: dfc2f82c536fa6672e95c3d8de101403
wine-4.1-108-gf7b3120991
Thanks, I'll try to take a look.