[gtk+/xi2-playground: 1/15] Add GDK_SOURCE_TOUCH.



commit 5bf08662db24b7dbf161cac3055a58a2203d1e1d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Jun 4 14:11:25 2010 +0200

    Add GDK_SOURCE_TOUCH.
    
    This kind of device would represent either a single-touch touchscreen, or
    individual touchpoints in a multitouch touchscreen.

 gdk/gdkdevice.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index b2a5db8..b780052 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -66,6 +66,7 @@ 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 (multi)touch capable device.
  *
  * An enumeration describing the type of an input device in general terms.
  */
@@ -75,7 +76,8 @@ typedef enum
   GDK_SOURCE_PEN,
   GDK_SOURCE_ERASER,
   GDK_SOURCE_CURSOR,
-  GDK_SOURCE_KEYBOARD
+  GDK_SOURCE_KEYBOARD,
+  GDK_SOURCE_TOUCH
 } GdkInputSource;
 
 /**



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