Re: [Linuxwacom-devel] [PATCH 4/4] Suppress most output from 'set_output' helper functions

2011-08-10 Thread Peter Hutterer
On Tue, Aug 09, 2011 at 05:50:13PM -0700, Jason Gerecke wrote: > Things get confusing when one helper function reports that it > couldn't find an output, but the next doesn't report success. > This change moves most of the output from the helper functions > into TRACE() calls that can be investigat

Re: [Linuxwacom-devel] [PATCH 1/4] Move XRRFreeScreenResources closer to last use of resource being freed

2011-08-10 Thread Peter Hutterer
On Tue, Aug 09, 2011 at 05:50:10PM -0700, Jason Gerecke wrote: > We call the free function as soon as practical to allow the now-following > logic to return at its leisure. > --- > tools/xsetwacom.c |3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/tools/xsetwacom.c

Re: [Linuxwacom-devel] [PATCH 3/4] Add 'set_output_area' helper function to parse area strings

2011-08-10 Thread Peter Hutterer
On Tue, Aug 09, 2011 at 05:50:12PM -0700, Jason Gerecke wrote: > This patch adds a function 'set_output_area' which attempts to parse > the commandline argument as a string of the form "WIDTHxHEIGHT@X,Y". > If it succeeds, the transformation matrix will bet set appropriately. man page please, but

Re: [Linuxwacom-devel] [PATCH 2/4] Move 'set_output' intelligence into helper functions

2011-08-10 Thread Peter Hutterer
On Tue, Aug 09, 2011 at 05:50:11PM -0700, Jason Gerecke wrote: > Instead of having 'set_output' be responsible for choosing an > appropriate helper function, we let the helper functions be > autonomous. If they cannot find an appropriate output (or > encounter an error), they simply return False to

Re: [Linuxwacom-devel] [PATCH 3/3] Add driver support for AC_PRESSUREHOLD button command

2011-08-10 Thread Peter Hutterer
On Tue, Aug 09, 2011 at 05:31:41PM -0700, Jason Gerecke wrote: > Supports AC_PRESSUREHOLD by adding a 'holdPressure' variable to > the '_WacomDeviceRec' struct. When non-negative, the value of > this variable will be used in place of pressure being reported > by the hardware. I think 2 and 3 can e

Re: [Linuxwacom-devel] [PATCH 1/3] Add AC_PRESSUREHOLD button action constant

2011-08-10 Thread Peter Hutterer
On Tue, Aug 09, 2011 at 05:31:39PM -0700, Jason Gerecke wrote: > Replaces the deprecated AC_DBLCLICK constant with a new constant > which denotes when a button action is supposed to cause the driver > to "hold" the current pressure value. > --- > include/Xwacom.h |2 +- > 1 files changed, 1 in

Re: [Linuxwacom-devel] DisplayToggle Help

2011-08-10 Thread Peter Hutterer
On Wed, Aug 10, 2011 at 05:07:56PM -0700, Jason Gerecke wrote: > On Wed, Aug 10, 2011 at 3:44 PM, Peter Hutterer > wrote: > > On Tue, Aug 09, 2011 at 06:05:00PM -0700, Jason Gerecke wrote: > >> I've been recently trying to resurrect the DisplayToggle button > >> command without much success. Most

Re: [Linuxwacom-devel] DisplayToggle Help

2011-08-10 Thread Jason Gerecke
On Wed, Aug 10, 2011 at 3:44 PM, Peter Hutterer wrote: > On Tue, Aug 09, 2011 at 06:05:00PM -0700, Jason Gerecke wrote: >> I've been recently trying to resurrect the DisplayToggle button >> command without much success. Most of the data I need access to (e.g. >> the contents of the coordinate tran

Re: [Linuxwacom-devel] DisplayToggle Help

2011-08-10 Thread Peter Hutterer
On Tue, Aug 09, 2011 at 06:05:00PM -0700, Jason Gerecke wrote: > I've been recently trying to resurrect the DisplayToggle button > command without much success. Most of the data I need access to (e.g. > the contents of the coordinate transformation matrix) are only > accessible with a Display objec