mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
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:
parent
3ab7645ac1
commit
a9f14846e4
@ -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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user