https://bugs.winehq.org/show_bug.cgi?id=45992
--- Comment #4 from beren.minor+wine@gmail.com beren.minor+wine@gmail.com --- Created attachment 62565 --> https://bugs.winehq.org/attachment.cgi?id=62565 WINEDEBUG=hid,xinput log for Mages of Mystralia
Added the trace and here is the log. As you can see at the beginning, hid does not detect any output feature on the gamepad.
I quickly had a look at this part and I believe there should be "type 0, tag 9" lines if it were the case. I didn't figure out why, and from where comes the descriptor, so I went for an easier fix.
Also, I could confirm that this also is an issue on other Unity games, such as Milanoir for example. On this other game, the gamepad briefly works on the opening sequence, but then isn't taken into account anyore once XInputSetState has been called and returns ERROR_UNSUPPORTED.
I don't know if it's specific to XBox360 gamepad though, or if this is the case for any other gamepad, for example ones without force feedback.