freebsd-ports/x11/inputplug/pkg-descr
Mateusz Piotrowski 1f9979e09e Add x11/inputplug
inputplug is a very simple daemon which monitors XInput events and runs
arbitrary scripts on hierarchy change events (such as a device being
attached, removed, enabled or disabled).

For example, inputplug can be used in shell scripts which monitor
attachments of keyboards in order to run change keyboard mappings with
commands like "setxkbmap -option ctrl:nocaps".

WWW: https://github.com/andrewshadura/inputplug
2020-10-10 11:53:46 +00:00

10 lines
416 B
Plaintext

inputplug is a very simple daemon which monitors XInput events and runs
arbitrary scripts on hierarchy change events (such as a device being attached,
removed, enabled or disabled).
For example, inputplug can be used in shell scripts which monitor attachments
of keyboards in order to run change keyboard mappings with commands like
"setxkbmap -option ctrl:nocaps".
WWW: https://github.com/andrewshadura/inputplug