xinput: program to grab keys and react to hierarchy changes
Hi. I have just released a small program that I wrote for myself to do two things:
-
Grab a key and execute a command on press, like the keyboard shortcuts of many window managers only on a specific keyboard.
-
Wait for hierarchy changes and execute a command, for example to apply a speed option to a hot-plugged mouse.
I believe these features would be useful in the standard tools. Would you like me to implement them in the xinput
command itself?