gdk: Add GDK_SOURCE_TRACKPOINT

Having this as an input source type will let us do the heuristics
in the GDK backends.

https://bugzilla.gnome.org/show_bug.cgi?id=767100
This commit is contained in:
Matthias Clasen 2016-06-01 06:57:46 -04:00
parent 3ab7645ac1
commit a9f14846e4

View File

@ -47,6 +47,8 @@ typedef struct _GdkTimeCoord GdkTimeCoord;
* as a touchscreen or tablet. This device type has been added in 3.4.
* @GDK_SOURCE_TOUCHPAD: the device is an indirect touch device, such
* as a touchpad. This device type has been added in 3.4.
* @GDK_SOURCE_TRACKPOINT: the device is a trackpoint. This device type has been
* added in 3.22
*
* An enumeration describing the type of an input device in general terms.
*/
@ -58,7 +60,8 @@ typedef enum
GDK_SOURCE_CURSOR,
GDK_SOURCE_KEYBOARD,
GDK_SOURCE_TOUCHSCREEN,
GDK_SOURCE_TOUCHPAD
GDK_SOURCE_TOUCHPAD,
GDK_SOURCE_TRACKPOINT
} GdkInputSource;
/**