3 ms·
Looks like this is X based, wonder if it could be ported to Wayland.
by heavyset_go 4y ago
Looks like this is X based, wonder if it could be ported to Wayland.
- rollcat 4y agoLooks like it's using pynput[1], which can use uinput[2] (direct kernel API) on Linux. [1]: https://pynput.readthedocs.io/en/latest/ https://pynput.readthedocs.io/en/latest/ [2]: https://www.kernel.org/doc/html/latest/input/uinput.html https://www.kernel.org/doc/html/latest/input/uinput.html
- albertzeyer 4y agoIn the README, I mentioned X11 because an earlier implementation was for X11. However, this implementation now is platform independent. It uses pynput. It should work on all major desktop environments, like X11, Wayland, MacOS, Windows.
- heavyset_go 4y agoAwesome, thanks for the clarification. Cool project :)