summaryrefslogtreecommitdiff
path: root/gdk/gdkdevice.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-01-27 21:34:21 +0000
committerCarlos Garnacho <carlosg@gnome.org>2016-04-06 15:43:29 +0200
commit32d7ba76b3642aefe83d183464a762a1ed152f19 (patch)
tree6ab4db0b24e3876d892e14ae53bc8970112ef2a5 /gdk/gdkdevice.h
parentadff59843b3cd511557ba5a578d2e75e685b3bed (diff)
downloadgtk+-32d7ba76b3642aefe83d183464a762a1ed152f19.tar.gz
device: Add distance/rotation/slider GdkAxisUse values
These are possible to handle in tablets, so add a value for these in the axis enum.
Diffstat (limited to 'gdk/gdkdevice.h')
-rw-r--r--gdk/gdkdevice.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index 49d6777e60..d171f8fc01 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -89,6 +89,9 @@ typedef enum
* @GDK_AXIS_XTILT: the axis is used for x tilt information.
* @GDK_AXIS_YTILT: the axis is used for y tilt information.
* @GDK_AXIS_WHEEL: the axis is used for wheel information.
+ * @GDK_AXIS_DISTANCE: the axis is used for pen/tablet distance information. (Since: 3.22)
+ * @GDK_AXIS_ROTATION: the axis is used for pen rotation information. (Since: 3.22)
+ * @GDK_AXIS_SLIDER: the axis is used for pen slider information. (Since: 3.22)
* @GDK_AXIS_LAST: a constant equal to the numerically highest axis value.
*
* An enumeration describing the way in which a device
@@ -104,6 +107,9 @@ typedef enum
GDK_AXIS_XTILT,
GDK_AXIS_YTILT,
GDK_AXIS_WHEEL,
+ GDK_AXIS_DISTANCE,
+ GDK_AXIS_ROTATION,
+ GDK_AXIS_SLIDER,
GDK_AXIS_LAST
} GdkAxisUse;