1
1
Fork
You've already forked xinput_to_uinput
0
Map xinput events to uinput, allowing to use X11 only accessibility software on wayland.
  • C 100%
2024年04月17日 10:05:39 -04:00
main.c Better key support 2024年04月17日 10:05:39 -04:00
README.org proof of concept 2024年04月16日 01:15:48 -04:00
uinput.c Better key support 2024年04月17日 10:05:39 -04:00
uinput.h proof of concept 2024年04月16日 01:15:48 -04:00
xinput.c Better key support 2024年04月17日 10:05:39 -04:00
xinput.h proof of concept 2024年04月16日 01:15:48 -04:00

Some keyboard automation applications have support for X11 input but not for Wayland. this software provides a simple way to connect such an application to a uinput virtual device. By running the application in an enclosed X11 session, the application is free to send its global events, and Wayland can simply interact with uinput.

xpra start :102
DISPLAY=:102 x11-only-automation-app
gcc main.c uinput.c xinput.c -lX11 -lXi
DISPLAY=:102 ./a.out

Currently, only keyboard events are supported, and mapping from Xinput to Uinput keycodes is incomplete.