In X There's a program I use called AntiMicro for mapping keystrokes to joystick buttons. It works by sending fake keystrokes using XTest. This obviously won't work with Wayland and I was hoping you guys would implement something similar so a similar program could be developed. It's one of the biggest thing keeping me to X.
Moving this over to wayland, this is something that needs to be handled either through something resembling XTest, or fully in userspace.
Note that in Linux nowadays you can just use uinput to simulate user inputs. For example have a look at this: http://tjjr.fi/sw/python-uinput/ . A whole new XTest for wayland is maybe avoidable?
uinput requires root rights, which is its biggest drawback compared to XTest.
That being said, we'd vastly prefer a compositor mechanism than allowing arbitrary clients to snoop on and inject events, since the latter is a security issue.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/wayland/issues/43.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.