Re: [Linuxwacom-devel] [linuxwacom-announce] [ANNOUNCE] xf86-input-wacom 0.10.99.1

2011-04-03 Thread Andrzej Giniewicz
On Sun, Apr 3, 2011 at 1:57 AM, Chris Bagwell ch...@cnpbagwell.com wrote: OK, found and emailed patches to fix those two issues. I know your much better then me at testing so if you get bored, please apply those to 0.10.11 or git and see what else you find. I applied on top of 0.10.99.1 (I

[Linuxwacom-devel] [PATCH v2] fix filter issue on MT bamboos

2011-04-03 Thread chris
From: Chris Bagwell ch...@cnpbagwell.com Init tool device type is needed for all MT devices to do correct filtering; not just pen+MT tablets. Signed-off-by: Chris Bagwell ch...@cnpbagwell.com --- Limit init of tool to MT case sinces that function is not ready for pad devices and geared towards

Re: [Linuxwacom-devel] [linuxwacom-announce] [ANNOUNCE] xf86-input-wacom 0.10.99.1

2011-04-03 Thread Chris Bagwell
On Sun, Apr 3, 2011 at 4:45 AM, Andrzej Giniewicz ggi...@gmail.com wrote: On Sun, Apr 3, 2011 at 1:57 AM, Chris Bagwell ch...@cnpbagwell.com wrote: OK, found and emailed patches to fix those two issues I know your much better then me at testing so if you get bored, please apply those to

Re: [Linuxwacom-devel] [PATCH v2] fix filter issue on MT bamboos

2011-04-03 Thread Ping Cheng
Reviewed-by: Ping Cheng pingli...@gmail.com Ping On Sun, Apr 3, 2011 at 6:49 AM, ch...@cnpbagwell.com wrote: From: Chris Bagwell ch...@cnpbagwell.com Init tool device type is needed for all MT devices to do correct filtering; not just pen+MT tablets. Signed-off-by: Chris Bagwell

[Linuxwacom-devel] [PATCH 0/3 v2] Centralize arbitration

2011-04-03 Thread Ping Cheng
Patch 1 is unchanged. Resend it with the group to make sure it gets merged; Patches 2 and 3 are updated with Peter's comments. Ping Cheng (3): Check predefined serial number as early as we can Add IsPen to cover both IsStylus and IsEraser Centralize pen and touch arbitration

[Linuxwacom-devel] [PATCH 1/3] Check predefined serial number as early as we can

2011-04-03 Thread Ping Cheng
Don't wait before we can post the events. Verify the serial number as soon as the information is accessible. Signed-off-by: Ping Cheng pingli...@gmail.com --- src/wcmCommon.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/wcmCommon.c b/src/wcmCommon.c

[Linuxwacom-devel] [PATCH 2/3 v2] Add IsPen to cover both IsStylus and IsEraser

2011-04-03 Thread Ping Cheng
It will be used more often when we need to compare touch events with pen events. Signed-off-by: Ping Cheng pingli...@gmail.com --- Changes in v2: use IsStylus and IsEraser instead of checking on the flags directly. src/wcmCommon.c |2 +- src/xf86WacomDefs.h |1 + 2 files changed, 2

[Linuxwacom-devel] [PATCH 3/3 v2] Centralize pen and touch arbitration

2011-04-03 Thread Ping Cheng
With the introduction of multi-touch, the chances of getting touch events while pen is in prox have been increased. One obvious use case is that the touch events could be used for gestures while pen is in prox. However, we do not want two cursors compete on the screen. Link the pen and touch

Re: [Linuxwacom-devel] [PATCH] ISDV4: work around Levono X200/X201 pressure issues

2011-04-03 Thread Peter Hutterer
On Sat, Apr 02, 2011 at 09:14:50AM -0500, ch...@cnpbagwell.com wrote: From: Chris Bagwell ch...@cnpbagwell.com As reported on mailing list and bug tracker #3008864, some Levono tablets pressure is not working right. Some people notice as getting max pressure while pressing lightly and

Re: [Linuxwacom-devel] [PATCH 7/7] Fix get_map to return proper wheel/strip button number

2011-04-03 Thread Peter Hutterer
On Fri, Apr 01, 2011 at 12:02:12PM -0700, Jason Gerecke wrote: On Thu, Mar 31, 2011 at 9:28 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Thu, Mar 31, 2011 at 12:07:32AM -0700, Jason Gerecke wrote: On Wed, Mar 30, 2011 at 9:20 PM, Peter Hutterer peter.hutte...@who-t.net wrote:

Re: [Linuxwacom-devel] [PATCH] allow more than 3 buttons

2011-04-03 Thread Chris Bagwell
On Sun, Apr 3, 2011 at 6:06 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Sat, Apr 02, 2011 at 06:46:18PM -0500, ch...@cnpbagwell.com wrote: From: Chris Bagwell ch...@cnpbagwell.com Made check be based on # of bits and not on # of bytes. Maybe there is a macro that already does this

[Linuxwacom-devel] [PATCH] Update all tools rotation property when rotating one of them.

2011-04-03 Thread Peter Hutterer
All tools on the same tablet share the rotation value, so if one of them is rotated, all of them must be. Since the property value is stored in the server, we need to trigger it explicitly. Test case: $ xsetwacom set device name stylus Rotate half $ xsetwacom get device name eraser Rotate Should

Re: [Linuxwacom-devel] [PATCH 3/3 v2] Centralize pen and touch arbitration

2011-04-03 Thread Peter Hutterer
On Sun, Apr 03, 2011 at 04:07:38PM -0700, Ping Cheng wrote: With the introduction of multi-touch, the chances of getting touch events while pen is in prox have been increased. One obvious use case is that the touch events could be used for gestures while pen is in prox. However, we do not want

Re: [Linuxwacom-devel] [PATCH 3/3] Centralize pen and touch arbitration

2011-04-03 Thread Peter Hutterer
On Thu, Mar 31, 2011 at 11:13:36PM -0700, Ping Cheng wrote: On Thu, Mar 31, 2011 at 10:57 PM, Peter Hutterer peter.hutte...@who-t.netwrote: On Thu, Mar 31, 2011 at 10:37:54PM -0700, Ping Cheng wrote: On Thu, Mar 31, 2011 at 4:43 PM, Peter Hutterer peter.hutte...@who-t.netwrote:

[Linuxwacom-devel] [PATCH] Only update bottomX/bottomY if they haven't been user-configured.

2011-04-03 Thread Peter Hutterer
wcmInitialToolSize() would xorg-configured overwrite BottomX/Y with the max values read from the tablet. Only set the two if they are non-zero (0 is the default value). Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/xf86Wacom.c |6 -- 1 files changed, 4 insertions(+), 2

Re: [Linuxwacom-devel] [PATCH 3/3] Centralize pen and touch arbitration

2011-04-03 Thread Ping Cheng
On Sun, Apr 3, 2011 at 6:35 PM, Peter Hutterer peter.hutte...@who-t.netwrote: What information can the user use for Uniq to associate the devices, which we do not have in the driver? Both devices have the same product ID and name. I only have one Bamboo, but the test code below gives

Re: [Linuxwacom-devel] [PATCH 3/3] Centralize pen and touch arbitration

2011-04-03 Thread Peter Hutterer
On Sun, Apr 03, 2011 at 07:23:34PM -0700, Ping Cheng wrote: On Sun, Apr 3, 2011 at 6:35 PM, Peter Hutterer peter.hutte...@who-t.netwrote: What information can the user use for Uniq to associate the devices, which we do not have in the driver? Both devices have the same product ID

Re: [Linuxwacom-devel] [linuxwacom-announce] [ANNOUNCE] xf86-input-wacom 0.10.99.1

2011-04-03 Thread Peter Hutterer
On Sun, Apr 03, 2011 at 11:45:20AM +0200, Andrzej Giniewicz wrote: On Sun, Apr 3, 2011 at 1:57 AM, Chris Bagwell ch...@cnpbagwell.com wrote: OK, found and emailed patches to fix those two issues. I know your much better then me at testing so if you get bored, please apply those to 0.10.11

Re: [Linuxwacom-devel] [PATCH 5/7] Decrease minimum number of args to 'set' [allow wheels/strips reset]

2011-04-03 Thread Peter Hutterer
On Fri, Apr 01, 2011 at 11:17:15AM -0700, Jason Gerecke wrote: On Thu, Mar 31, 2011 at 9:21 PM, Peter Hutterer peter.hutte...@who-t.net wrote: On Wed, Mar 30, 2011 at 11:51:22PM -0700, Jason Gerecke wrote: On Wed, Mar 30, 2011 at 9:04 PM, Peter Hutterer peter.hutte...@who-t.net wrote:

Re: [Linuxwacom-devel] [PATCH 3/3] Centralize pen and touch arbitration

2011-04-03 Thread Ping Cheng
On Sun, Apr 3, 2011 at 7:51 PM, Peter Hutterer peter.hutte...@who-t.netwrote: On Sun, Apr 03, 2011 at 07:23:34PM -0700, Ping Cheng wrote: On Sun, Apr 3, 2011 at 6:35 PM, Peter Hutterer peter.hutte...@who-t.net wrote: What information can the user use for Uniq to associate the

Re: [Linuxwacom-devel] [PATCH] Update all tools rotation property when rotating one of them.

2011-04-03 Thread Ping Cheng
On Sun, Apr 3, 2011 at 5:39 PM, Peter Hutterer peter.hutte...@who-t.netwrote: All tools on the same tablet share the rotation value, so if one of them is rotated, all of them must be. Since the property value is stored in the server, we need to trigger it explicitly. Test case: $ xsetwacom

Re: [Linuxwacom-devel] [linuxwacom-announce] [ANNOUNCE] xf86-input-wacom 0.10.99.1

2011-04-03 Thread Andrzej Giniewicz
are you scrolling through gestures? afaict the scrolling code is hardcoded to use 4/5 6/7 instead of the button mapping. yes, that was of course using gestures. It worked in 0.10.11 so I believe it was recent change to hardcode it?

Re: [Linuxwacom-devel] [linuxwacom-announce] [ANNOUNCE] xf86-input-wacom 0.10.99.1

2011-04-03 Thread Peter Hutterer
On Mon, Apr 04, 2011 at 07:32:44AM +0200, Andrzej Giniewicz wrote: are you scrolling through gestures? afaict the scrolling code is hardcoded to use 4/5 6/7 instead of the button mapping. yes, that was of course using gestures. It worked in 0.10.11 so I believe it was recent change to

[Linuxwacom-devel] [PATCH 1/4] xsetwacom: constify convert_value_to_user

2011-04-03 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/xsetwacom.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c index da2ef08..8e63f01 100644 --- a/tools/xsetwacom.c +++ b/tools/xsetwacom.c @@ -1475,7 +1475,7 @@ error:

[Linuxwacom-devel] [PATCH 3/4] Revert Correct TPCButton property inversion

2011-04-03 Thread Peter Hutterer
Hover Click and TPCButton are not the same meaning. TPCButton behaviour is that Hover Click is off and vice versa. Hence the property inversion is there on purpose. Add some documentation to make this public. This reverts commit f1ecd11c619f1f7eb7850dd2fb514307ca1dd1ce. Conflicts:

[Linuxwacom-devel] [PATCH 4/4] xsetwacom: add PROP_FLAG_INVERTED for Hover Click/TPCButton

2011-04-03 Thread Peter Hutterer
The Hover Click property is inverse to the TPCButton xsetwacom option/xorg.conf option. This commit restores the original behaviour for the property as before f1ecd11c619f1f7eb7850dd2fb514307ca1dd1ce but fixes xsetwacom that users of xsetwacom won't notice the difference. Signed-off-by: Peter