On Mon, Mar 25, 2013 at 09:22:20AM +0100, Sjoerd Simons wrote:
> 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)

sorry, too simple a fix and too many wide-reaching consequences. we'll need
something a lot narrower than this.

http://sourceforge.net/mailarchive/forum.php?thread_name=CAGK%2BT_%3DiyfZKXCUJ4jFChy%2Bb0U3%3DGbfMMAJVY%2BQ2aVkiZnusMQ%40mail.gmail.com&forum_name=linuxwacom-devel

Cheers,
   Peter
 
> 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


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to