[Bug 45992] Some Unity games expect XInputSetState to succeed or ignore gamepad input

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 16 02:37:29 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45992

--- Comment #4 from beren.minor+wine at gmail.com <beren.minor+wine at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list