[Bug 38997] Non-deterministic device id assignment when using more than one joystick/ gamepad (multiplayer) . Unable to deactivate joystick through registry or wine control applet

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 24 20:57:41 CDT 2016


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

david.dljunk at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.dljunk at gmail.com

--- Comment #2 from david.dljunk at gmail.com ---
(In reply to Tom from comment #1)
> How to reproduce the bug easily:
> Connect 2 or more gamepads to a Mac(Book). Invoke wine control / game
> controller test applet several times.
> Symptom: "Joystick 0"  is bound randomly to one of the connected devices.
> 
> Hint:
> I think this bug is OSX specific and related to input/joystick_osx.c

Hi, I just submitted a couple of patches to fix this in both dinput and winmm
joystick controllers. It now sorts controllers by location ID which should
remained stable over across boots & program launches. Which wine control/game
controller test applet were you using?

https://source.winehq.org/patches/data/123721
https://source.winehq.org/patches/data/123724
https://source.winehq.org/patches/data/123722
https://source.winehq.org/patches/data/123723

It should be noted that for virtual joysticks, they may still be unordered
amongst themselves if multiple virtual joysticks have the same location ID
(e.g. 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