Hi,
I am using a USB Mouse and I need to trap the mouse events. I do NOT have X windows installed. I run 2.6.X kernel.

How do I trap the mouse(USB) events from my application?

Any help is appreciated.

-Prashant