Re: [Linuxwacom-devel] [PATCH v4 0/8] MapToOutput modifications

2011-09-26 Thread Jason Gerecke
On Tue, Sep 20, 2011 at 3:54 PM, Jason Gerecke wrote: > Fourth round of modifications to xsetwacom's MapToOutput command. > This patch set no longer adds an AspectRatio property to the driver, > instead relying on xsetwacom to do-the-right-thing with the Area > property. This has the potential to

[Linuxwacom-devel] [PATCH] Backport of Intuos4 LED and OLED control

2011-09-26 Thread Eduard Hasenleithner
The "Intous4 LED and OLED control" patch has been accepted into the linux-input tree, and is scheduled for inclusion into linux-3.2. This is a backport of said patch into the wacom-input tree in order to support this feature also on older kernels. The ABI description is not contained in this patch,

Re: [Linuxwacom-devel] [PATCH] First version of Button Image setting

2011-09-26 Thread Ping Cheng
On Sun, Sep 25, 2011 at 1:23 PM, Eduard Hasenleithner wrote: > Linux kernels starting with version number 3.2 are supposed to have > the LED extensions included in the wacom driver. This commit provides > a first demonstration on how the new interface might be exposed by > means of xsetwacom. > >

Re: [Linuxwacom-devel] [PATCH] First version of Button Image setting

2011-09-26 Thread Eduard Hasenleithner
Hi Ping Thanks for the ACK. 2011/9/27 Ping Cheng : > On Sun, Sep 25, 2011 at 1:23 PM, Eduard Hasenleithner > wrote: >> TODO: >> * Add function for setting the status led > > I am working on patches to support this function as well as retrieving > the LED status from the kernel. The code is for l

Re: [Linuxwacom-devel] [PATCH] First version of Button Image setting

2011-09-26 Thread Ping Cheng
On Mon, Sep 26, 2011 at 4:04 PM, Eduard Hasenleithner wrote: > Hi Ping > > Thanks for the ACK. > > 2011/9/27 Ping Cheng : >> On Sun, Sep 25, 2011 at 1:23 PM, Eduard Hasenleithner >> wrote: >>> TODO: >>> * Add function for setting the status led >> >> I am working on patches to support this functi

Re: [Linuxwacom-devel] [PATCH v4 0/8] MapToOutput modifications

2011-09-26 Thread Peter Hutterer
On Mon, Sep 26, 2011 at 09:29:13AM -0700, Jason Gerecke wrote: > On Tue, Sep 20, 2011 at 3:54 PM, Jason Gerecke wrote: > > Fourth round of modifications to xsetwacom's MapToOutput command. > > This patch set no longer adds an AspectRatio property to the driver, > > instead relying on xsetwacom to

Re: [Linuxwacom-devel] [PATCH v4 0/8] MapToOutput modifications

2011-09-26 Thread Jason Gerecke
On Mon, Sep 26, 2011 at 5:07 PM, Peter Hutterer wrote: > On Mon, Sep 26, 2011 at 09:29:13AM -0700, Jason Gerecke wrote: >> On Tue, Sep 20, 2011 at 3:54 PM, Jason Gerecke wrote: >> > Fourth round of modifications to xsetwacom's MapToOutput command. >> > This patch set no longer adds an AspectRatio

Re: [Linuxwacom-devel] [PATCH v4 1/8] Create wacom-util.h for generally handy defines

2011-09-26 Thread Peter Hutterer
On Tue, Sep 20, 2011 at 03:54:22PM -0700, Jason Gerecke wrote: > The new wacom-util.h should be the place to store defines which > may be handy to use anywhere. At the moment this includes things > like ARRAY_SIZE, bit manipulation, and mask manipulation defines. > > Signed-off-by: Jason Gerecke

Re: [Linuxwacom-devel] [PATCH v4 2/8] Free RandR resources more-quickly

2011-09-26 Thread Peter Hutterer
On Tue, Sep 20, 2011 at 03:54:23PM -0700, Jason Gerecke wrote: > 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. > > Signed-off-by: Jason Gerecke

Re: [Linuxwacom-devel] [PATCH v4 3/8] Have 'set_output' check and convert arguments as necessary

2011-09-26 Thread Peter Hutterer
On Tue, Sep 20, 2011 at 03:54:24PM -0700, Jason Gerecke wrote: > The 'set_output' function is now responsible for parsing the > command-line arguments to both determine the proper function > to call, as well as converting them into a form that can be > more easily used by the helper functions. This

Re: [Linuxwacom-devel] [PATCH v4 4/8] Allow 'MapToOutput' to accept X geometry strings

2011-09-26 Thread Peter Hutterer
On Tue, Sep 20, 2011 at 03:54:25PM -0700, Jason Gerecke wrote: > This patch allows the MapToOutput command to accept fully- > specified X geometry strings as valid output names. The > XParseGeometry function describes these strings as having > the folowing format: > > [=][{xX}][{+-}{+-}] > > Stri

Re: [Linuxwacom-devel] [PATCH v4 5/8] Add 'set_output_next' helper for MapToOutput

2011-09-26 Thread Peter Hutterer
On Tue, Sep 20, 2011 at 03:54:26PM -0700, Jason Gerecke wrote: > Adds a helper function for MapToOutput which determines which > output the device is currently mapped to, and moves to the next > available output. Repeatedly calling this function will result > in the device being mapped to every ava

Re: [Linuxwacom-devel] [PATCH v4 6/8] Have 'MapToOutput' require the keyword "desktop" to do such

2011-09-26 Thread Peter Hutterer
On Tue, Sep 20, 2011 at 03:54:27PM -0700, Jason Gerecke wrote: > Instead of allowing zero arguments to map the tablet to the entire > desktop, we require the use of the keyword "desktop" to accomplish > this. This is to make it easier to figure out the user's intent > later on when we introduce Kee

Re: [Linuxwacom-devel] [PATCH v4 7/8] Have MapToOutput helpers return booleans to indicate success

2011-09-26 Thread Peter Hutterer
On Tue, Sep 20, 2011 at 03:54:28PM -0700, Jason Gerecke wrote: > MapToOutput helper functions now return 'true' when they sucessfully > change the transformation matrix, and 'false' otherwise. Though this > information is not used at the moment, it will be used with the > KeepShape patch to ensure

Re: [Linuxwacom-devel] [PATCH v4 8/8] Add ability to match input aspect ratio to the current output ratio

2011-09-26 Thread Peter Hutterer
On Tue, Sep 20, 2011 at 05:42:48PM -0700, Jason Gerecke wrote: > On Tue, Sep 20, 2011 at 3:54 PM, Jason Gerecke wrote: > > Adds an optional "KeepShape" paramater to the MapToOutput command. > > If provided, the Area property is updated to match the aspect ratio > > of the new output. If not provid

Re: [Linuxwacom-devel] [PATCH] First version of Button Image setting

2011-09-26 Thread Peter Hutterer
On Sun, Sep 25, 2011 at 10:23:13PM +0200, Eduard Hasenleithner wrote: > Linux kernels starting with version number 3.2 are supposed to have > the LED extensions included in the wacom driver. This commit provides > a first demonstration on how the new interface might be exposed by > means of xsetwac

Re: [Linuxwacom-devel] [PATCH] First version of Button Image setting

2011-09-26 Thread Peter Hutterer
On Mon, Sep 26, 2011 at 05:01:00PM -0700, Ping Cheng wrote: > On Mon, Sep 26, 2011 at 4:04 PM, Eduard Hasenleithner > wrote: > > Hi Ping > > > > Thanks for the ACK. > > > > 2011/9/27 Ping Cheng : > >> On Sun, Sep 25, 2011 at 1:23 PM, Eduard Hasenleithner > >> wrote: > >>> TODO: > >>> * Add functi