Hi jazzbiker
... Voila! all birds are trapped in our cages.
Here's an explanation of how the settings work that may prove useful.
These are the events listed on one of my machines:
tc@E310:~/C_Programs/AutoCursor$ sudo ./AutoCursor -e
Event# Input device name
0: "Power Button"
1: "Power Button"
2: "Logitech USB-PS/2 Optical Mouse"
3: "PC Speaker"
4: "DELL DELL USB Keyboard"
5: "HDA Intel Mic"
6: "HDA Intel Line"
7: "HDA Intel Line Out"
8: "HDA Intel Front Headphone"
tc@E310:~/C_Programs/AutoCursor$
This is the settings file from that machine:
tc@E310:~/C_Programs/AutoCursor$ cat cursor.conf
s:"Logitech USB-PS/2 Optical Mouse"
h:"DELL DELL USB Keyboard"
tc@E310:~/C_Programs/AutoCursor$
The program does a case sensitive substring search for the settings string in the events string.
Any copy and paste section of the event string will work. In other words, this would work too:
s:"Mouse"
h:"Keyboard"
If all of your machines report Mouse and Keyboard , That is all you would need. If one of your machines reports
keyboard , you could do this:
s:"Mouse"
h:"Keyboard"
h:"keyboard"
If I did this:
h:"HDA"
My cursor would disappear anytime one of those 4 audio devices generated an event.
Summary:
You only need enough of the string to uniquely identify the event of interest.
You need the quotation marks.
... on one particular machine only devices actually present will be enqued. ...
Correct.