Make this executable (e.g. chmod +x listKeyboards.tcl
) and then ./listKeyboards.tcl
folk@folk0:~$ ./listKeyboards.tcl
Working ...
-- Keyboard found: /dev/input/event6 DEVPATH=/devices/pci0000:00/0000:00:01.1/0000:02:00.0/usb3/3-2/3-2:1.2/0003:046D:C52B.000C/00
03:046D:404B. 000D/input/input67/event6
-- Keyboard found: /dev/input/event7 | DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.2/0003:046D:52.0006/0003:046D:404