1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-09 05:26:00 +02:00
tldr/pages/linux/uinput.md
Santosh Shrestha a2422ac85e
mux, udevmon, intercept, uinput: add page (#16667)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-05-31 14:56:52 +00:00

559 B

uinput

Intercept and write input events to a virtual keyboard device using /dev/uinput. More information: https://gitlab.com/interception/linux/tools/-/tree/master?ref_type=heads#uinput.

  • Show resulting YAML device description merge and exit (dry-run):

uinput -p

  • Merge YAML device description(s) to resulting virtual device:

sudo uinput -c {{path/to/device1.yaml path/to/device2.yaml ...}}

  • Merge reference device description from device node(s) to resulting virtual device:

sudo uinput -d {{/dev/input/eventX /dev/input/eventY ...}}