Game controller is recognized as an XInput device instead of DInput

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Matheus
Level 1
Level 1
Posts: 7
Joined: Fri Feb 04, 2022 7:25 pm

Game controller is recognized as an XInput device instead of DInput

Post by Matheus »

Good afternoon,

When I run "wine control" I see in the Game Controller applet that my gamepad gets recognized as an XInput device, leading to erratic behavior (for example, the Y-axis for the right control stick isn't recognized, the face buttons all get mapped to wrong positions and Start/Select isn't registered at all). When I select my controller in the XInput list and click Overwrite, it then starts being recognized as a DInput device, and I can see in the DInput testing tab that it works correctly. However, I'm not sure what I should do to make other Windows applications recognize my controller as a DInput device, right now they all interpret it as an XInput one. This issue does not occur with native Linux applications.

My controller is a Multilaser JS091 and gets listed as "SHANWAN Android Gamepad" in the control applet.
Locked