diff --git a/pages/linux/intercept.md b/pages/linux/intercept.md new file mode 100644 index 0000000000..ef3835a6d1 --- /dev/null +++ b/pages/linux/intercept.md @@ -0,0 +1,12 @@ +# intercept + +> Read raw input events from a specified input event device and redirect it to stdout. +> More information: . + +- Read and output raw input events from a given input device file (the system will not see any key presses): + +`sudo intercept -g {{/dev/input/eventX}}` + +- Read and output raw input events from a given input device file (the system can see key presses and does not block other programs from reading them): + +`sudo intercept {{/dev/input/eventX}}` diff --git a/pages/linux/mux.md b/pages/linux/mux.md new file mode 100644 index 0000000000..afe0d1bd55 --- /dev/null +++ b/pages/linux/mux.md @@ -0,0 +1,20 @@ +# mux + +> Intercept and multiplex streams of input events. +> More information: . + +- Create a new muxer with a specified name: + +`mux -c {{muxer_name1 muxer_name2 ...}}` + +- Set the muxer's internal queue size (default is 100): + +`mux -s {{size}}` + +- Read input from a named muxer (can be repeated in "switch mode"): + +`mux -i {{input_muxer_name}}` + +- Write output to a named muxer (can be repeated): + +`mux -o {{output_muxer_name}}` diff --git a/pages/linux/udevmon.md b/pages/linux/udevmon.md new file mode 100644 index 0000000000..e2514b6927 --- /dev/null +++ b/pages/linux/udevmon.md @@ -0,0 +1,9 @@ +# udevmon + +> Intercept and monitor input devices for launching tasks. +> Filters or modifies events according to configuration file(s) (default: `/etc/interception/udevmon.d/*.yaml`). +> More information: . + +- Start udevmon with specified configuration file: + +`udevmon -c {{path/to/config.yaml}}` diff --git a/pages/linux/uinput.md b/pages/linux/uinput.md new file mode 100644 index 0000000000..30ae6bb8fc --- /dev/null +++ b/pages/linux/uinput.md @@ -0,0 +1,16 @@ +# uinput + +> Intercept and write input events to a virtual keyboard device using /dev/uinput. +> More information: . + +- 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 ...}}`