Re: Where are pressure and tilts initialized ?



David Bourguignon <David Bourguignon imag fr> writes:

> Hi all,
> 
> I'm trying to port gtk+ tablet input capabilities to an sgi irix platform, which
> wacom driver is a little bit different from the linux one. I'm using the gtk/gdk
> libs compiled --with-xinput=xfree which works without problems on irix.
> 
> My main concern is: where does gdk handle the event generated by xf86Wacom.c
> using xf86WcmSendEvents() ? Where are pressure and tilts values initialized in
> GdkEvent ? I looked in gdkevents.c for gdk_event_translate() but it doesn't
> initialize the pressure and tilts. Maybe I'm completely missing the point...
> 
> Thank you in advance for any help.

Well, in GTK+-1.2, you'd look in gdk/gdkinputcommon.h,
in GTK+-1.3.x, you'd look in gdk/x11/gdkinput-x11.c.

In either case, the assignment of axes types to axes is configurable
by the user, via, for instance GtkInputDialog.

Regards,
                                        Owen
 





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