wlcs
wlcs copied to clipboard
Using uinput instead of create_pointer/touch?
Hi!
In order to integrate wlcs into a compositor, it is required to implement functions to handle emulation of pointer and touch devices. I imagine keyboard, tablet and other devices will be required in the future.
Is there a reason to not use uinput instead? https://kernel.org/doc/html/latest/input/uinput.html
uinput allows to emulate input devices from userspace. The only caveat is that root permissions are required.
Would it be possible to use uinput in wlcs to reduce integration code? Is there a technical reason (root?) I'm missing that doesn't allow to use uinput?