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

2011-09-28 Thread Peter Hutterer
On Thu, Sep 29, 2011 at 08:04:00AM +0200, Eduard Hasenleithner wrote: > 2011/9/29 Peter Hutterer : > >> Ah, finally I understand the whole picture which Ping wanted me (us) > >> to tell. I see it similar. When looking at the 4 leds, I'm seeing > >> something like a software settable "rotary selecti

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

2011-09-28 Thread Eduard Hasenleithner
2011/9/29 Peter Hutterer : >> Ah, finally I understand the whole picture which Ping wanted me (us) >> to tell. I see it similar. When looking at the 4 leds, I'm seeing >> something like a software settable "rotary selection switch". >> Applications want to be informed immediately when the value cha

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

2011-09-28 Thread Peter Hutterer
On Wed, Sep 28, 2011 at 06:28:39PM -0700, Ping Cheng wrote: > On Wed, Sep 28, 2011 at 4:02 PM, Peter Hutterer > wrot > >> We can make the "xsetwacom led" a get and set command (instead of > >> get-only). If end users can set led status, the following may happen: > >> one user/app may change the s

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

2011-09-28 Thread Ping Cheng
On Wed, Sep 28, 2011 at 4:02 PM, Peter Hutterer wrot >> We can make the "xsetwacom led" a get and set command (instead of >> get-only). If end users can set led status, the following may happen: >> one user/app may change the status while the other wants it unchanged. >> How do we avoid this kind

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

2011-09-28 Thread Peter Hutterer
On Wed, Sep 28, 2011 at 08:36:47PM +0200, Eduard Hasenleithner wrote: > Hi > > 2011/9/28 Ping Cheng : > > On Wed, Sep 28, 2011 at 4:10 AM, Peter Hutterer > > wrote: > >> sorry, I'm just going to reply to this message here instead of each of them > >> in the thread because otherwise my answers wou

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

2011-09-28 Thread Peter Hutterer
On Wed, Sep 28, 2011 at 11:05:35AM -0700, Ping Cheng wrote: > On Wed, Sep 28, 2011 at 4:10 AM, Peter Hutterer > wrote: > > sorry, I'm just going to reply to this message here instead of each of them > > in the thread because otherwise my answers would be too split up. Also, I'm > > a bit confused

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

2011-09-28 Thread Eduard Hasenleithner
Hi 2011/9/28 Ping Cheng : > On Wed, Sep 28, 2011 at 4:10 AM, Peter Hutterer > wrote: >> sorry, I'm just going to reply to this message here instead of each of them >> in the thread because otherwise my answers would be too split up. Also, I'm >> a bit confused because some of the msgs in this thr

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

2011-09-28 Thread Ping Cheng
On Wed, Sep 28, 2011 at 4:10 AM, Peter Hutterer wrote: > sorry, I'm just going to reply to this message here instead of each of them > in the thread because otherwise my answers would be too split up. Also, I'm > a bit confused because some of the msgs in this thread seem contradictory. > > One im

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

2011-09-28 Thread Przemo Firszt
Dnia 2011-09-27, wto o godzinie 11:56 +0200, Eduard Hasenleithner pisze: [..] > First, I don't know. The windows driver (AFAIR) allows to set it, and > it is provided by the kernel module. Second, we have actually three > luminances: > 1) OLED matrix display luminance > 2) luminance of status led w

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

2011-09-28 Thread Peter Hutterer
sorry, I'm just going to reply to this message here instead of each of them in the thread because otherwise my answers would be too split up. Also, I'm a bit confused because some of the msgs in this thread seem contradictory. One important thing that I want to point out: xf86-input-wacom is an X

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

2011-09-27 Thread Peter Hutterer
On Tue, Sep 27, 2011 at 09:58:56AM -0700, Ping Cheng 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 linuxwacom, the older > >> >>

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

2011-09-27 Thread Peter Hutterer
On Tue, Sep 27, 2011 at 11:56:04AM +0200, Eduard Hasenleithner wrote: > >> * Add function for setting luminance > > > > make the status led a 2-value property, first one to set which led, second > > one to set the luminance. > > > > do we really care about luminance on the OLEDs? > > First, I don'

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

2011-09-27 Thread Ping Cheng
On Tue, Sep 27, 2011 at 2:03 PM, Eduard Hasenleithner wrote: >> Yes, and no. Yes for the led to provide new app functions. No if you >> think we are going to report the LED through XInput valuators. Due to >> backward compatibility, we will not report LED as a new axis. It will >> only be reported

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

2011-09-27 Thread Eduard Hasenleithner
Hi. 2011/9/27 Ping Cheng : > On Tue, Sep 27, 2011 at 12:09 PM, Eduard Hasenleithner > wrote: >> So let me summarize: The only important point of the function selector >> (led) is to provide another axis to the X11 client application. >> The X11 client is free to decide on what to do with the addi

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

2011-09-27 Thread Ping Cheng
On Tue, Sep 27, 2011 at 12:09 PM, Eduard Hasenleithner wrote: >> We are on the page here. Besides the touch ring, the leds also tell >> users which set of expresskey functions they can use though. > > This is because of there are no expresskey displays, right? If you consider the LED as a propert

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

2011-09-27 Thread Ping Cheng
On Tue, Sep 27, 2011 at 5:30 AM, Eduard Hasenleithner wrote: > But this is not exactly what the touch ring was designed for. It was > designed for things like zooming in/out, cycle layers in photoshop, > change the brush size, etc. In order to avoid the need for multiple > touch rings, four functi

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

2011-09-27 Thread Ping Cheng
On Mon, Sep 26, 2011 at 11:46 PM, Peter Hutterer wrote: >> TODO: >> * Add function for setting the status led >> * Add function for setting luminance > > make the status led a 2-value property, first one to set which led, second > one to set the luminance. I would prefer we have separate properti

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

2011-09-27 Thread Ping Cheng
>> >>> 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 linuxwacom, the older >> >> X servers, right now. I need to submit the kernel patch that adds >> >>

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

2011-09-27 Thread Eduard Hasenleithner
Hi Ping. 2011/9/27 Ping Cheng : > On Mon, Sep 26, 2011 at 4:04 PM, Eduard Hasenleithner > wrote: >> 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 thi

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

2011-09-27 Thread Eduard Hasenleithner
Hi Peter. Thanks for the detailled comments. 2011/9/27 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 firs

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

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 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] 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 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. > >

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

2011-09-25 Thread Eduard Hasenleithner
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. The basic mechanism for passing the Button images between the xsetwacom t