ref: grab events from XInput



Hi, everyone,

I am going to test the XInput extension on GTK & GDK.
I am connecting a serial mouse to xfree86 4.0 as a Xinput and set it
ALWAYSCORE. Now I have two mouses working at the same time, one is PS2 mouse
and one is serial mouse. 
What I want know is how to grasp the events of serial mouse (x, y coord and
button press, etc.) when the mouse move and display them on a GTK's
interface (designed by GLADE).
Can someone help?

Thanks.

Paul Wang.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]