[gnome-control-center] wacom: Add Intuos4 test device
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Add Intuos4 test device
- Date: Fri, 13 Jan 2012 17:48:26 +0000 (UTC)
commit ac86cd36cda1544627c8e2d4c94737e325f9d9e1
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jan 13 17:45:21 2012 +0000
wacom: Add Intuos4 test device
panels/wacom/gsd-wacom-device.c | 29 +++++++++++++++++++++++++++++
panels/wacom/gsd-wacom-device.h | 1 +
2 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/gsd-wacom-device.c b/panels/wacom/gsd-wacom-device.c
index ad81b68..e0e5c20 100644
--- a/panels/wacom/gsd-wacom-device.c
+++ b/panels/wacom/gsd-wacom-device.c
@@ -891,3 +891,32 @@ gsd_wacom_device_create_fake_x201 (void)
return devices;
}
+
+GList *
+gsd_wacom_device_create_fake_intuos4 (void)
+{
+ GsdWacomDevice *device;
+ GList *devices;
+
+ device = gsd_wacom_device_create_fake (WACOM_TYPE_STYLUS,
+ "Intuos 4 M 6x9",
+ "Wacom Intuos4 6x9 stylus");
+ devices = g_list_prepend (NULL, device);
+
+ device = gsd_wacom_device_create_fake (WACOM_TYPE_ERASER,
+ "Intuos 4 M 6x9",
+ "Wacom Intuos4 6x9 eraser");
+ devices = g_list_prepend (devices, device);
+
+ device = gsd_wacom_device_create_fake (WACOM_TYPE_PAD,
+ "Intuos 4 M 6x9",
+ "Wacom Intuos4 6x9 pad");
+ devices = g_list_prepend (devices, device);
+
+ device = gsd_wacom_device_create_fake (WACOM_TYPE_CURSOR,
+ "Intuos 4 M 6x9",
+ "Wacom Intuos4 6x9 cursor");
+ devices = g_list_prepend (devices, device);
+
+ return devices;
+}
diff --git a/panels/wacom/gsd-wacom-device.h b/panels/wacom/gsd-wacom-device.h
index 2502cb1..3435866 100644
--- a/panels/wacom/gsd-wacom-device.h
+++ b/panels/wacom/gsd-wacom-device.h
@@ -107,6 +107,7 @@ GsdWacomDevice * gsd_wacom_device_create_fake (GsdWacomDeviceType type,
GList * gsd_wacom_device_create_fake_cintiq (void);
GList * gsd_wacom_device_create_fake_bt (void);
GList * gsd_wacom_device_create_fake_x201 (void);
+GList * gsd_wacom_device_create_fake_intuos4 (void);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]