[meta-freescale] [linux-boundary][PATCH] egalax_ts: Always report all touch points before input_sync()

Erik Botö erik.boto at pelagicore.com
Wed Jul 3 07:13:14 PDT 2013


Done, sent as v2-patch :)

Cheers,
Erik


On Wed, Jul 3, 2013 at 2:54 PM, Otavio Salvador <otavio at ossystems.com.br> wrote:
> On Wed, Jul 3, 2013 at 4:20 AM, Erik Botö <erik.boto at pelagicore.com> wrote:
>> Hi,
>>
>> Since the motivation for this patch was only discussed in a separate
>> mail thread I'll summarize here:
>>
>> The previous behavior of the driver did not work properly with Qt5
>> QtQuick multi touch-point gestures, due to how touch-points are
>> reported when removing a touch-point. My interpretation of the
>> available documentation [1] was that the driver should report all
>> touch-points between SYN_REPORTs, but it is not explicitly stated so.
>> I've found another mail-thread [2] where the creator of the protocol
>> states:
>>
>> "The protocol defines a generic way of sending a variable amount of
>> contacts. The
>> contact count is obtained by counting the number of non-empty finger packets
>> between SYN_REPORT events." - Henrik Rydberg
>>
>> I think this verifies my assumption that all touch-points should be
>> reported between SYN_REPORTs, otherwise it can not be used to obtain
>> the count.
>>
>> [1] - https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt
>> [2] - http://lists.x.org/archives/xorg-devel/2010-March/006466.html
>
> Please add this to the commit log ;)
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



--
=============================================
Erik Botö
Senior Software Engineer
Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46 (0)76 881 72 03
E-Mail: erik.boto at pelagicore.com
=============================================



More information about the meta-freescale mailing list