[Bug 52047] not all joysticks show up in wine

WineHQ Bugzilla wine-bugs at winehq.org
Tue Nov 16 07:38:51 CST 2021


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

Rémi Bernon <rbernon at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rbernon at codeweavers.com

--- Comment #3 from Rémi Bernon <rbernon at codeweavers.com> ---
Hi,

I don't think adding yourself to the input user group is a good idea. It will
let you access directly to /dev/input/eventX devices which are normally only
meant to be accessed directly by privileged users.

This is for instance the case for mouse and keyboard devices, and it may then
cause some trouble, as Wine will get direct access to these devices where they
should normally be handled through the X server.

I have seen some cases for instance, where a laptop touchpad could then be
considered as a joystick device and take precedence over genuine joystick
devices.


Normally udev has some rules and heuristics to decide which device is a
joystick and which is not, and only expose joysticks to unprivileged the users.
This is probably what needs to be done, although I don't know how exactly.


Regarding the /dev/js backend, it's been removed but we can consider adding it
back to winebus.sys if it's helping some cases.

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