Thread (25 messages) 25 messages, 3 authors, 2010-09-21

Re: [PATCH 3/3] hid: 3m: Correct touchscreen emulation

From: Henrik Rydberg <hidden>
Date: 2010-08-28 16:08:53
Also in: lkml

On 08/28/2010 05:56 PM, Stéphane Chatty wrote:
Le 28 août 10 à 16:29, Henrik Rydberg a écrit :
quoted
The current code sometimes misses to report the last BTN_TOUCH event
when multiple fingers are lifted simultaneously.  With the
introduction of MT slots, the tracking id is available to determine
the oldest active contact.
Hi Henrik,

good job on exploiting the sync quirk!

About the oldest active contact, I'm not so sure though. I don't have the device
with me but I remember that 3M recycle IDs, giving the lowest available ID to
any new finger; this means that the lowest ID is not always the oldest finger.

Hi Stéphane,

I think we use the term tracking id differently here. The HID_DG_CONTACTID is
actually the slot id, and the tracking id is a sequential number, increased
whenever the touch is new. I believe the patchset works correctly as long as
there is less than 32768 new touches before releasing the oldest one. :-)

Cheers,
Henrik
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help