[Bug 51878] Gamepad / adapter not detected without legacy joystick backends.

WineHQ Bugzilla wine-bugs at winehq.org
Sat Oct 16 15:06:53 CDT 2021


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

--- Comment #5 from Chiitoo <escomk3 at hotmail.com> ---
Created attachment 70831
  --> https://bugs.winehq.org/attachment.cgi?id=70831
Output and 'diff' of 'udevadm info -a' on js0 and js1.

They're pretty similar what comes to 'udevadm info', too, which is a bit
unfortunate.  I was playing with it the other day, trying to write an udev rule
so as to change the group permissions so that only one of the "devices" is seen
by applications (js0 and its event node).

While that does work, at least when testing with Steam, the rule part isn't
exactly persistent since the only few unique identifiers tend to change when
the device is re-initialised...

In any case, perhaps somewhat interestingly, at commit 7011685e1e70 (before the
removal of the legacy backends), when I give the user permission (via groups
for example) to the event node as well, then I'll have an additional device
available (Twin USB Joystic (event) in addition to the two Twin USB Joystic
(js)).  This also works with FFXI (though I had to re-calibrate the right
analog stick for some reason, and in joy.cpl it spins the wrong way around, up
is left, down is right, left is up, and right is down).

Why it doesn't work after the removal is still a bit of a mystery.

Also still not sure why it works in Steam.  If I remember right-like, they use
SDL for those bits.  Will try to find some other things to test with.

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