I wanna attach 2 USB mice to a Linux PC and read input data (move and buttons)from them. I am a bit falimiar with USB concepts.
Can anybody help?
the events arrive at the evdev devices in /dev/input/event* . to better locate the mice (usb devices tend to change device numbers often) open the corresponding device in /dev/input/event/by-path/ or /dev/input/event/by-id/ (udev required).
look at http://www.frogmouth.net/hid-doco/linux-hid.html
Thanks a lot for your guid. I read the document and the problem solved. There was a realy good sample which worked for me.