Re: gtk->deviceid How to use?
- From: Sven Neumann <sven gimp org>
- To: Lam Yick Yan <superylam netscape net>
- Cc: gtk-list gnome org
- Subject: Re: gtk->deviceid How to use?
- Date: 23 Feb 2002 14:47:34 +0100
Hi,
Lam Yick Yan <superylam netscape net> writes:
> 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.
one thing you should check before you start to debug your driver is
whether GTK+ was compiled with xinput support (configure --with-xinput=xfree).
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]