Re: [Linuxwacom-devel] [PATCH 1/4] Update comments for wheel and TwinView resolution properties

2011-08-19 Thread Peter Hutterer
On Mon, Aug 15, 2011 at 08:51:50PM -0700, Ping Cheng wrote: On Mon, Aug 15, 2011 at 8:03 PM, Peter Hutterer peter.hutte...@who-t.netwrote: A bit more detail on the wheel property to make it easier to understand without reading the code. TV resolution is deprecated, mark it as such.

Re: [Linuxwacom-devel] 'official' method of getting driver version? (for Graphical Configuration Tools)

2011-08-19 Thread Peter Hutterer
On Tue, Aug 16, 2011 at 08:32:39PM +1200, Jason alavaliant wrote: On Thu, Aug 11, 2011 at 9:27 PM, Peter Hutterer peter.hutte...@who-t.netwrote: On 11/08/11 19:21 , Jason alavaliant wrote: work and it's expected that their software works. Even though I've installed 0.11.1 on our

Re: [Linuxwacom-devel] RFC: how to report a new value to XInput

2011-08-19 Thread Ping Cheng
On Thu, Aug 18, 2011 at 9:40 PM, Peter Hutterer peter.hutte...@who-t.netwrote: On Wed, Aug 17, 2011 at 08:26:26AM -0700, Ping Cheng wrote: On Wed, Aug 17, 2011 at 12:02 AM, Peter Hutterer peter.hutte...@who-t.netwrote: On Tue, Aug 16, 2011 at 11:48:51PM -0700, Ping Cheng wrote: I

Re: [Linuxwacom-devel] RFC: how to report a new value to XInput

2011-08-19 Thread Favux ...
Gottcha. Thanks Ping. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools

[Linuxwacom-devel] [PATCH v2 2/9] Move 'set_output' intelligence into helper functions

2011-08-19 Thread Jason Gerecke
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 let the caller know that it failed. --- Changes from v1: * Don't

[Linuxwacom-devel] [PATCH v2 1/9] Free RandR resources more-quickly

2011-08-19 Thread Jason Gerecke
We now call XRRFreeScreenResources as soon as practical to allow the now-following logic to return at its leisure. Additionally, we also copy the data from 'crtc_info' locally and free it ASAP. --- Changes from v1: * Free crtc_info tools/xsetwacom.c | 13 + 1 files changed, 9

[Linuxwacom-devel] [PATCH v2 6/9] Add 'set_output_relative' helper for MapToOutput

2011-08-19 Thread Jason Gerecke
At the moment, this helper is only capable of understanding the keyword next. This will cause it to move to the next available output, with the order determined by the underlying list of heads. Its hoped this can be expanded to support other keywords, most notably left and right, which would

[Linuxwacom-devel] [PATCH v2 3/9] Add 'set_output_area' helper function to parse area strings

2011-08-19 Thread Jason Gerecke
This patch adds a function 'set_output_area' which attempts to parse the commandline argument as a tring of the form WIDTHxHEIGHT@X,Y. If it succeeds, the transformation matrix will be set appropriately. --- Changes from v1: * Add man page entry * Document the function man/xsetwacom.man | 18

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

2011-08-19 Thread Jason Gerecke
Things get confusing when one helper function reports that it couldn't find an output, but the next one doesn't report success. This change moves most of the output from the helper functions into TRACE() calls that can be investigated further if need be, and adds a fallthrough failure message to

[Linuxwacom-devel] [PATCH v2 8/9] Introduce new AspectRatio property

2011-08-19 Thread Jason Gerecke
The AspectRatio property defines the aspect ratio of that portion of the tablet's input Area property which should be considered active. It is defined by two integers which correspond to the width and height of the region. Being a ratio, both simplified (e.g. 4 3) and non- simplified (e.g. 1600

[Linuxwacom-devel] [PATCH v2 9/9] Add ability to match input aspect ratio to the current output ratio

2011-08-19 Thread Jason Gerecke
Adds a boolean match parameter to the MapToOutput command which instructs the utility to (re)set the AspectRatio property appropriately. --- man/xsetwacom.man | 17 --- tools/xsetwacom.c | 152 + 2 files changed, 140 insertions(+), 29

[Linuxwacom-devel] [PATCH v2 0/9]

2011-08-19 Thread Jason Gerecke
Re-submission and expansion of the set of four patches I submitted last week. I could really use some feedback on these -- I've been rebasing, merging, and staring too closely at these for too long to be objective. Jason --- Day xee-nee-svsh duu-'ushtlh-ts'it; nuu-wee-ya' duu-xan'