This patch fixes the issue reported at
https://sourceforge.net/projects/linuxwacom/forums/forum/236872/topic/3647761/index/page/1.
The recent updates for ISDV4.c didn't set TPCButton on by default.
Signed-off-by: Ping Cheng <[email protected]>
From db4c47c79aea3903cd299d0ecd99e16556f494a1 Mon Sep 17 00:00:00 2001
From: Ping Cheng <[email protected]>
Date: Mon, 29 Mar 2010 10:00:05 -0700
Subject: [PATCH] TPCButton is on by default for ISDV4 devices
The recent updates for ISDV4.c missed this bit.
Signed-off-by: Ping Cheng <[email protected]>
---
src/wcmISDV4.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c
index c0c3f83..e6a24d0 100644
--- a/src/wcmISDV4.c
+++ b/src/wcmISDV4.c
@@ -172,6 +172,13 @@ static Bool isdv4Init(LocalDevicePtr local, char* id, float *version)
/*set the model */
common->wcmModel = &isdv4General;
+ /* Tablet PC Button is on by default */
+ common->wcmTPCButtonDefault = 1;
+
+ /* check if TPCButton was turned off by user for stylus */
+ if (priv->flags & STYLUS_ID)
+ common->wcmTPCButton = xf86SetBoolOption(local->options,
+ "TPCButton", common->wcmTPCButtonDefault);
return Success;
}
--
1.6.6.1
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel