AntiMicroX / antimicrox

Graphical program used to map keyboard buttons and mouse controls to a gamepad. Useful for playing games with no gamepad support.
GNU General Public License v3.0
2.43k stars 140 forks source link

fix: Fix /dev/uinput static device node access #781

Closed lnussel closed 1 year ago

pktiuk commented 1 year ago

Hi @lnussel could you describe bug you are fixing with this patch? Is there any related issue, or is it something what happened with your installation?

lnussel commented 1 year ago

/dev/uinput is a static device node, as such the existing udev rule doesn't work. Not sure it ever worked. Looks like on X11 there is a fallback to Xtest but that doesn't work on Wayland, so uinput ACLs are needed.

pktiuk commented 1 year ago

Could you send any link to docs mentioning this?

lnussel commented 1 year ago

no but google uinput uaccess leads to eg this https://github.com/ValveSoftware/steam-for-linux/issues/4794

pktiuk commented 1 year ago

Thanks for contribution