[gtk+/wip/wayland-tablet: 36/61] device: Add GDK_AXIS_DISTANCE	GdkAxisUse value
- From: Carlos Garnacho <carlosg src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk+/wip/wayland-tablet: 36/61] device: Add GDK_AXIS_DISTANCE	GdkAxisUse value
 
- Date: Fri, 29 Jan 2016 13:49:44 +0000 (UTC)
 
commit f1ea47d9c4fbc473fbcb8fd8cd694608c61adddb
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jan 27 21:34:21 2015 +0000
    device: Add GDK_AXIS_DISTANCE GdkAxisUse value
    
    This is something we can represent on a fairly wide range of devices, so
    add a value for this in the axis enum.
 gdk/gdkdevice.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index 49d6777..6847d2c 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -89,6 +89,7 @@ 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..
  * @GDK_AXIS_LAST: a constant equal to the numerically highest axis value.
  *
  * An enumeration describing the way in which a device
@@ -104,6 +105,7 @@ typedef enum
   GDK_AXIS_XTILT,
   GDK_AXIS_YTILT,
   GDK_AXIS_WHEEL,
+  GDK_AXIS_DISTANCE,
   GDK_AXIS_LAST
 } GdkAxisUse;
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]