mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 09:41:50 +00:00
22 lines
636 B
Plaintext
22 lines
636 B
Plaintext
---
|
|
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#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 ...}}`
|