1 #ifndef __GDK_INPUT_H__
2 #define __GDK_INPUT_H__
4 #include <gdk/gdktypes.h>
8 #endif /* __cplusplus */
10 typedef struct _GdkDeviceKey GdkDeviceKey;
11 typedef struct _GdkDeviceInfo GdkDeviceInfo;
12 typedef struct _GdkTimeCoord GdkTimeCoord;
16 GDK_EXTENSION_EVENTS_NONE,
17 GDK_EXTENSION_EVENTS_ALL,
18 GDK_EXTENSION_EVENTS_CURSOR
51 GdkInputSource source;
53 gint has_cursor; /* TRUE if the X pointer follows device motion */
55 GdkAxisUse *axes; /* Specifies use for each axis */
63 GdkModifierType modifiers;
76 GList * gdk_input_list_devices (void);
77 void gdk_input_set_extension_events (GdkWindow *window,
79 GdkExtensionMode mode);
80 void gdk_input_set_source (guint32 deviceid,
81 GdkInputSource source);
82 gboolean gdk_input_set_mode (guint32 deviceid,
84 void gdk_input_set_axes (guint32 deviceid,
86 void gdk_input_set_key (guint32 deviceid,
89 GdkModifierType modifiers);
90 void gdk_input_window_get_pointer (GdkWindow *window,
97 GdkModifierType *mask);
98 GdkTimeCoord *gdk_input_motion_events (GdkWindow *window,
102 gint *nevents_return);
106 #endif /* __cplusplus */
108 #endif /* __GDK_INPUT_H__ */