[Bug 42434] New: Gamepad listed twice

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 12 13:33:52 CST 2017


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

            Bug ID: 42434
           Summary: Gamepad listed twice
           Product: Wine
           Version: 2.1
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-dinput
          Assignee: wine-bugs at winehq.org
          Reporter: gabriel.corona at enst-bretagne.fr
      Distribution: ---

Created attachment 57270
  --> https://bugs.winehq.org/attachment.cgi?id=57270
Example program enumerating the same device twice.

The gamepads seem to be listed twice by DiectInput.

The problem manifests itself in Lego games (eg. "Lego the Hobbit" and "Lego
Star Wars Episode 7"). The same gamepad is exposed twice and is thus used for
both players: the same gamepad controls both players and it is not possible to
play single player.

A quick workaround is to use `rm /dev/input/js*`.

AFAIU, the problem is that both the /dev/input/eventX and the /dev/input/jsX
device of the gamepad are enumerated. You'll find in attachement a program
which demonstrates the issue:

    Thrustmaster Dual Trigger 3-in-1 (event)
({B323044F-0000-0000-0000-504944564944}) -- Thrustmaster Dual Trigger 3-in-1
(event) ({9E573EDA-7734-11D2-8D4A-23903FB6BDF7})
    Thrustmaster Dual Trigger 3-in-1 (js)
({B323044F-0000-0000-0000-504944564944}) -- Thrustmaster Dual Trigger 3-in-1
(js) ({9E573ED9-7734-0000-8D4A-23903FB6BDF7})


Using Wine 2.1 on Debian testing with Linux 4.9.0.

-- 
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