[gtk+/wip/wayland-tablet-v2: 6/19] gdkdevice: Add GDK_SOURCE_TABLET_PAD input source type for GdkDevices



commit 64661a26ee0f94ca428017ff940eaa144783c87c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Aug 4 19:01:38 2016 +0200

    gdkdevice: Add GDK_SOURCE_TABLET_PAD input source type for GdkDevices
    
    This will represent a tablet pad.

 gdk/gdkdevice.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkdevice.h b/gdk/gdkdevice.h
index b345e9d..9622c74 100644
--- a/gdk/gdkdevice.h
+++ b/gdk/gdkdevice.h
@@ -49,6 +49,8 @@ typedef struct _GdkTimeCoord GdkTimeCoord;
  *     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
+ * @GDK_SOURCE_TABLET_PAD: the device is a "pad", a collection of buttons,
+ *     rings and strips. This device type has been added in 3.22.
  *
  * An enumeration describing the type of an input device in general terms.
  */
@@ -61,7 +63,8 @@ typedef enum
   GDK_SOURCE_KEYBOARD,
   GDK_SOURCE_TOUCHSCREEN,
   GDK_SOURCE_TOUCHPAD,
-  GDK_SOURCE_TRACKPOINT
+  GDK_SOURCE_TRACKPOINT,
+  GDK_SOURCE_TABLET_PAD
 } GdkInputSource;
 
 /**


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