For your interest, the assignment of eventN is not fixed in any
predictable way. They are just enumerated in order of detection. You
need to use "sudo lsinput" to find out which particular device has
which number, or look at the udevadm info --export-db output.
Dominik Boehi [2009-10-12 21:43 -0000]: USB_Multimedia_ Keyboard- event-if01 -> ../event6 USB_Multimedia_ Keyboard- event-kbd -> ../event5
> lrwxrwxrwx 1 root root 9 2009-10-12 20:27 usb-Logitech_
> lrwxrwxrwx 1 root root 9 2009-10-12 20:27 usb-Logitech_
For your interest, the assignment of eventN is not fixed in any
predictable way. They are just enumerated in order of detection. You
need to use "sudo lsinput" to find out which particular device has
which number, or look at the udevadm info --export-db output.