https://bugs.winehq.org/show_bug.cgi?id=52387
Bug ID: 52387 Summary: Joystick does not release buttons properly Product: Wine Version: 6.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: joy.cpl Assignee: wine-bugs@winehq.org Reporter: somethingoutoftheordinary@live.com Distribution: Debian
Since the "HID Joystick" implementation (Wine 6.20), release events do not get triggered properly when multiple buttons are released simultaneously, can be easily tested in joy.cpl, keep multiple buttons held and release them at the exact same time, only the lowest numbered button will be released, the rest will 'stick', until a new button is pressed or one of the axes changes.
https://bugs.winehq.org/show_bug.cgi?id=52387
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |rbernon@codeweavers.com Component|joy.cpl |directx-dinput
--- Comment #1 from Rémi Bernon rbernon@codeweavers.com --- Thanks, nice catch!
This is actually happening not when buttons are released at the exact same time but when they are very close to each other, and where dinput HID joystick can read and process multiple reports at once. The more buttons are pressed, and released, the more likely it is to happen.
I send a patch which should fix this.
https://bugs.winehq.org/show_bug.cgi?id=52387
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |3ad4f9f356b9f59731bf7e5c8ab | |bdcee145994ba Resolution|--- |FIXED
--- Comment #2 from Rémi Bernon rbernon@codeweavers.com --- This should be fixed after 3ad4f9f356b9f59731bf7e5c8abbdcee145994ba.
https://bugs.winehq.org/show_bug.cgi?id=52387
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc6.