Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-01 00:24:58 +00:00
parent 17ca2e244e
commit 856ab03c8f
5 changed files with 81 additions and 0 deletions

21
tldr/linux/uinput Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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 ...}}`