On Tue, Aug 23, 2011 at 01:54:00PM -0500, Chris Bagwell wrote:
> On Tue, Aug 23, 2011 at 9:49 AM, Ping Cheng <[email protected]> wrote:
> > Acked-by: Ping Cheng <[email protected]>
> 
> Also:
> 
> Acked-by: Chris Bagwell <[email protected]>
> 
> Once on public git, I'll rebase my patch and resend that reduces
> taptime from 2 * wcmTapTime to base value of wcmTapTime.
> 
> Maybe you tested this patch and noticed the delay before scrolling
> kicks in kinda uncomfortable at 2xTapTime.

hah! yes, noticed it but not consciously other than that the gesture was
really unresponsive. This one Pushed as
    cf5986b7e546443f16cd86dbb46c8ba334382081
    xf86-input-wacom-0.11.0-66-gcf5986b

Cheers,
  Peter

> 
> Chris
> 
> >
> > Ping
> >
> > On Mon, Aug 22, 2011 at 8:50 PM, Peter Hutterer <[email protected]>
> > wrote:
> >>
> >> Signed-off-by: Peter Hutterer <[email protected]>
> >> ---
> >> no functional changes, but at least it's readable now.
> >>
> >>  src/wcmTouchFilter.c |   25 ++++++++++++++-----------
> >>  1 files changed, 14 insertions(+), 11 deletions(-)
> >>
> >> diff --git a/src/wcmTouchFilter.c b/src/wcmTouchFilter.c
> >> index 4afede2..433e12f 100644
> >> --- a/src/wcmTouchFilter.c
> >> +++ b/src/wcmTouchFilter.c
> >> @@ -290,18 +290,21 @@ void wcmGestureFilter(WacomDevicePtr priv, int
> >> channel)
> >>                    wcmFingerScroll(priv);
> >>
> >>        /* process complex two finger gestures */
> >> -       else if ((2*common->wcmGestureParameters.wcmTapTime <
> >> -           (GetTimeInMillis() - ds[0].sample)) &&
> >> -           (2*common->wcmGestureParameters.wcmTapTime <
> >> -           (GetTimeInMillis() - ds[1].sample))
> >> -           && ds[0].proximity && ds[1].proximity)
> >> -       {
> >> -               /* scroll should be considered first since it requires
> >> -                * a finger distance check */
> >> -               wcmFingerScroll(priv);
> >> +       else {
> >> +               CARD32 ms = GetTimeInMillis();
> >> +               int taptime = 2 * common->wcmGestureParameters.wcmTapTime;
> >> +
> >> +               if (ds[0].proximity && ds[1].proximity &&
> >> +                   (taptime < (ms - ds[0].sample)) &&
> >> +                   (taptime < (ms - ds[1].sample)))
> >> +               {
> >> +                       /* scroll should be considered first since it
> >> requires
> >> +                        * a finger distance check */
> >> +                       wcmFingerScroll(priv);
> >>
> >> -               if (!(common->wcmGestureMode & GESTURE_SCROLL_MODE))
> >> -                   wcmFingerZoom(priv);
> >> +                       if (!(common->wcmGestureMode &
> >> GESTURE_SCROLL_MODE))
> >> +                               wcmFingerZoom(priv);
> >> +               }
> >>        }
> >>  ret:
> >>        if (!common->wcmGestureMode && !channel &&
> >> !is_absolute(priv->pInfo))
> >> --
> >> 1.7.6
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> 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 developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> >> _______________________________________________
> >> Linuxwacom-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
> >
> >
> > ------------------------------------------------------------------------------
> > 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 developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> >
> > _______________________________________________
> > Linuxwacom-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
> >
> >
> 

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to