mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-11-02 22:16:22 +08:00
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: open-source-learner <315730032+open-source-learner@users.noreply.github.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
552 B
552 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#uinput.
- Simulate merging the device descriptions and print the resulting YAML:
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 ...}}