Updating branch refs/heads/master to 0a3fd067c0dd3e97382faa8d6429bc6d0300a665 (commit) from 916ddd8e49cba6cd4912b3efa01f7945718eb33b (commit)
commit 0a3fd067c0dd3e97382faa8d6429bc6d0300a665 Author: Jannis Pohlmann <jan...@xfce.org> Date: Wed Jul 21 11:11:43 2010 +0200 Add support for wacom volito and bamboo tablets. thunar-volman/tvm-input-device.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/thunar-volman/tvm-input-device.c b/thunar-volman/tvm-input-device.c index bae1e7c..3be0721 100644 --- a/thunar-volman/tvm-input-device.c +++ b/thunar-volman/tvm-input-device.c @@ -38,6 +38,7 @@ tvm_input_device_added (TvmContext *context) { const gchar *id_class; const gchar *id_model; + const gchar *id_usb_driver; const gchar *driver; const gchar *enabled_property = NULL; const gchar *command_property = NULL; @@ -50,6 +51,7 @@ tvm_input_device_added (TvmContext *context) id_class = g_udev_device_get_property (context->device, "ID_CLASS"); id_model = g_udev_device_get_property (context->device, "ID_MODEL"); driver = g_udev_device_get_property (context->device, "DRIVER"); + id_usb_driver = g_udev_device_get_property (context->device, "ID_USB_DRIVER"); if (g_strcmp0 (id_class, "kbd") == 0) { @@ -57,7 +59,8 @@ tvm_input_device_added (TvmContext *context) enabled_property = "/autokeyboard/enabled"; command_property = "/autokeyboard/command"; } - else if (g_strcmp0 (driver, "wacom") == 0) + else if (g_strcmp0 (driver, "wacom") == 0 + || g_strcmp0 (id_usb_driver, "wacom") == 0) { /* we have a wacom tablet */ enabled_property = "/autotablet/enabled"; _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits