gtk->deviceid How to use?



Dear Sir,

   I have just devleoped a X input driver for my small graphic tablet.
And it is working.... Now I have cursor  that will move according to
mouse OR graphic tablet.

  Now I want to develope a gtk application that will ONLY respond
the event from my graphic tablet. I have a callback function in my GTK
application, motion_notify_event and I have compared the event content
of my mouse and my graphic tablet and they look the same (the deviceid
content etc). and I have no way to distuguish whether the event is from the
mouse or from the graphic tablet.

  What did I do wrong in my driver? can please have a look at
http://input.foruto.com/IME/BINARIES/gogopen.tar.gz and tell me whether
I did wrong in the device driver?

Yick
Hong Kong china




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