Hi Everybody
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?
Regards, Soosho
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
Dear strcmp
Thanks a lot for your guid. I read the document and the problem solved. There was a realy good sample which worked for me.
evdev
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
Dear strcmp
Thanks a lot for your guid. I read the document and the problem solved. There was a realy good sample which worked for me.
Regards,
Soosho