[PATCH synaptics] Increase post-motion-event timeout from 13 to 50 ms.

Fernando Carrijo fcarrijo at freedesktop.org
Mon Feb 28 21:21:49 PST 2011


Daniel Kurtz <djkurtz at google.com> wrote:

> However, my understanding is that edge motion occurs when a drag or move
> hits an edge, but the finger stays in contact with the pad.  Thus, there
> should always still be hardware events during an edge motion.

Yeah, once the properties EdgeMotion{MinZ,MaxZ,UseAlways} are set accordingly.

> This timer, instead, should only fire after the finger is raised immediately
> after a valid motion packet (a hardware sample that generated a delta
> resulting in pointer motion).  Actually, since there is no way of
> distinguishing between timer-events and hardware-events (since timerFunc copies
> previous priv->hwState), what this means is, once fired, this timer will
> keep firing forever.
> 
> However, at least on the trackpads that I have tested, this doesn't happen
> for a very different reason.  When the finger is lifted from the pad, the
> touchpad/kernel-driver doesn't immediately stop sending packets.  Instead,
> it sends about 1 second worth of dummy "x=0,y=0,z=0..." packets at regular
> intervals.



More information about the xorg-devel mailing list