[gnome-settings-daemon] wacom: Add code to list fake devices
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Add code to list fake devices
- Date: Fri, 25 Nov 2011 17:05:39 +0000 (UTC)
commit bc3a461fe79fc4692949df4bea0244d05b3efbb0
Author: Bastien Nocera <hadess hadess net>
Date: Fri Nov 25 16:36:02 2011 +0000
wacom: Add code to list fake devices
plugins/wacom/list-wacom.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/plugins/wacom/list-wacom.c b/plugins/wacom/list-wacom.c
index 453e711..ec08976 100644
--- a/plugins/wacom/list-wacom.c
+++ b/plugins/wacom/list-wacom.c
@@ -115,11 +115,27 @@ list_actual_devices (void)
list_devices (devices);
}
+static void
+list_fake_devices (void)
+{
+ GList *devices;
+
+ devices = gsd_wacom_device_create_fake_cintiq ();
+ list_devices (devices);
+
+ devices = gsd_wacom_device_create_fake_bt ();
+ list_devices (devices);
+
+ devices = gsd_wacom_device_create_fake_x201 ();
+ list_devices (devices);
+}
+
int main (int argc, char **argv)
{
gtk_init (&argc, &argv);
list_actual_devices ();
+// list_fake_devices ();
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]