[gtk+/touch-for-3.4] gdk: Add separate device types for direct and indirect touch



commit adefcf2ee618dfd14ed890e22f45ed9de23ab773
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 24 14:06:27 2012 -0500

    gdk: Add separate device types for direct and indirect touch

 gdk/gdkdevice.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index 38398d6..05a360c 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -61,8 +61,10 @@ typedef enum
  *                     of a stylus on a graphics tablet.
  * @GDK_SOURCE_CURSOR: the device is a graphics tablet "puck" or similar device.
  * @GDK_SOURCE_KEYBOARD: the device is a keyboard.
- * @GDK_SOURCE_TOUCH: the device is a touch capable device.
- *     This device type has been added in 3.4.
+ * @GDK_SOURCE_DIRECT_TOUCH: the device is a direct-input touch device, such
+ *     as a touchscreen or tablet. This device type has been added in 3.4.
+ * @GDK_SOURCE_INDIRECT_TOUCH: the device is an indirect touch device, such
+ *     as a touchpad. This device type has been added in 3.4.
  *
  * An enumeration describing the type of an input device in general terms.
  */
@@ -73,7 +75,8 @@ typedef enum
   GDK_SOURCE_ERASER,
   GDK_SOURCE_CURSOR,
   GDK_SOURCE_KEYBOARD,
-  GDK_SOURCE_TOUCH
+  GDK_SOURCE_DIRECT_TOUCH,
+  GDK_SOURCE_INDIRECT_TOUCH
 } GdkInputSource;
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]