Hey,
When playing with the latest gnome on an X220t i noticed that the pen
input on the built-in tablet nicely follows the rotation of the screen
but the finger touch input does not. Making libwacom recognize the touch
device as a wacom device solves this issue (As it makes gnome set the
wacom rotation for it)
Patch attached
--
Sjoerd Simons <sjo...@luon.net>
From 69beb7e641950168ac26643048fef938194d77f8 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjo...@greynoise.nl>
Date: Mon, 25 Mar 2013 09:08:53 +0100
Subject: [PATCH] Also recognize touchscreen wacom devices
On my X220t there are two wacom device exposed. One being the pen and
one being two finger touch. The touch device has ID_INPUT_TOUCHSCREEN
instead of _TABLET or _TOUCHPAD, so also recognize that.
Signed-off-by: Sjoerd Simons <sjo...@greynoise.nl>
---
libwacom/libwacom.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libwacom/libwacom.c b/libwacom/libwacom.c
index 1b9b398..0f44eb2 100644
--- a/libwacom/libwacom.c
+++ b/libwacom/libwacom.c
@@ -57,6 +57,7 @@ static gboolean
is_tablet_or_touchpad (GUdevDevice *device)
{
return g_udev_device_get_property_as_boolean (device, "ID_INPUT_TABLET") ||
+ g_udev_device_get_property_as_boolean (device, "ID_INPUT_TOUCHSCREEN") ||
g_udev_device_get_property_as_boolean (device, "ID_INPUT_TOUCHPAD");
}
--
1.7.10.4
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel