Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-09-05 Thread Peter Hutterer
On Mon, Sep 05, 2011 at 10:22:12AM -0500, Chris Bagwell wrote: > On Sun, Sep 4, 2011 at 11:02 PM, Peter Hutterer > wrote: > > On Sun, Sep 04, 2011 at 10:54:48PM -0500, Chris Bagwell wrote: > >> The reason I'm using the -1 work around is because wcmInitModel() is > >> called after wcmParseOptions()

Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-09-05 Thread Chris Bagwell
On Sun, Sep 4, 2011 at 11:02 PM, Peter Hutterer wrote: > On Sun, Sep 04, 2011 at 10:54:48PM -0500, Chris Bagwell wrote: >> The reason I'm using the -1 work around is because wcmInitModel() is >> called after wcmParseOptions().  The *GetRanges function is called >> during Init phase and so we do no

Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-09-04 Thread Peter Hutterer
On Sun, Sep 04, 2011 at 10:54:48PM -0500, Chris Bagwell wrote: > On Wed, Aug 31, 2011 at 5:50 PM, Peter Hutterer > wrote: > > On Wed, Aug 31, 2011 at 09:59:14AM -0500, Chris Bagwell wrote: > >> On Wed, Aug 31, 2011 at 1:09 AM, Peter Hutterer > >> wrote: > >> > On Sat, Aug 27, 2011 at 12:03:19PM -

Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-09-04 Thread Chris Bagwell
On Wed, Aug 31, 2011 at 5:50 PM, Peter Hutterer wrote: > On Wed, Aug 31, 2011 at 09:59:14AM -0500, Chris Bagwell wrote: >> On Wed, Aug 31, 2011 at 1:09 AM, Peter Hutterer >> wrote: >> > On Sat, Aug 27, 2011 at 12:03:19PM -0500, ch...@cnpbagwell.com wrote: >> >>       common->wcmGestureParameters.

Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-08-31 Thread Peter Hutterer
On Wed, Aug 31, 2011 at 07:52:15PM -0500, Chris Bagwell wrote: > On Wed, Aug 31, 2011 at 5:53 PM, Favux ... wrote: > >>> >>       int wcmScrollDistance;         /* minimum motion before sending > >>> >> a scroll gesture */ > >>> >>       int wcmScrollDirection;        /* store the vertical or >

Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-08-31 Thread Chris Bagwell
On Wed, Aug 31, 2011 at 5:53 PM, Favux ... wrote: >>> >>       int wcmScrollDistance;         /* minimum motion before sending a >>> >> scroll gesture */ >>> >>       int wcmScrollDirection;        /* store the vertical or horizontal >>> >> bit in use */ >>> >> +     int wcmInlineDistance;      

Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-08-31 Thread Favux ...
>> >>       int wcmScrollDistance;         /* minimum motion before sending a >> >> scroll gesture */ >> >>       int wcmScrollDirection;        /* store the vertical or horizontal >> >> bit in use */ >> >> +     int wcmInlineDistance;         /* maximum distance between fingers >> >> for scroll

Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-08-31 Thread Peter Hutterer
On Wed, Aug 31, 2011 at 09:59:14AM -0500, Chris Bagwell wrote: > On Wed, Aug 31, 2011 at 1:09 AM, Peter Hutterer > wrote: > > On Sat, Aug 27, 2011 at 12:03:19PM -0500, ch...@cnpbagwell.com wrote: > >>       common->wcmGestureParameters.wcmScrollDirection = 0; > >> -     common->wcmGestureParameter

Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-08-31 Thread Chris Bagwell
On Wed, Aug 31, 2011 at 1:09 AM, Peter Hutterer wrote: > On Sat, Aug 27, 2011 at 12:03:19PM -0500, ch...@cnpbagwell.com wrote: >> From: Chris Bagwell >> >> Signed-off-by: Chris Bagwell >> --- >> >> This patch is added to my github gesture3 branch but probably applys >> fine to master as well. >>

Re: [Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-08-30 Thread Peter Hutterer
On Sat, Aug 27, 2011 at 12:03:19PM -0500, ch...@cnpbagwell.com wrote: > From: Chris Bagwell > > Signed-off-by: Chris Bagwell > --- > > This patch is added to my github gesture3 branch but probably applys > fine to master as well. > > Current 2 finger gesture logic is geared towards resolution

[Linuxwacom-devel] [PATCH] make gesture distances be relative to hw maximums.

2011-08-27 Thread chris
From: Chris Bagwell Signed-off-by: Chris Bagwell --- This patch is added to my github gesture3 branch but probably applys fine to master as well. Current 2 finger gesture logic is geared towards resolution of old Bamboo linuxwacom driver. It doesn't work well with Linux kernel Bamboo driver (