Proximity events are generated when using GDK's wrapper
for the XInput extension. The XInput extension is an
add-on for standard X that allows you to use
nonstandard devices such as graphics tablets. A
proximity event indicates that the stylus has moved in
or out of contact with the tablet, or perhaps that the
user's finger has moved in or out of contact with a
touch screen. The X distribution comes with some
documentation for the XInput extension, and Owen
Taylor's gsumi application
contains example GDK code.
typedef struct _GdkEventProximity GdkEventProximity;
struct _GdkEventProximity
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
guint32 time;
GdkInputSource source;
guint32 deviceid;
};
|