From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Daniel Kurtz <djkurtz@chromium.org>
Cc: Henrik Rydberg <rydberg@euromail.se>,
Seth Forshee <seth.forshee@canonical.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Chung-Yih Wang <cywang@chromium.org>,
Chase Douglas <chase.douglas@canonical.com>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Input: synaptics - fix 1->3 contact transition reporting
Date: Wed, 13 Feb 2013 20:27:15 -0800 [thread overview]
Message-ID: <20130214042715.GD2472@core.coreip.homeip.net> (raw)
In-Reply-To: <1359707340-13033-1-git-send-email-djkurtz@chromium.org>
On Fri, Feb 01, 2013 at 04:29:00PM +0800, Daniel Kurtz wrote:
> Investigating the following gesture highlighted two slight implementation
> errors with choosing which slots to report in which slot when multiple
> contacts are present:
>
> Action SGM AGM (MTB slot:Contact)
> 1. Touch contact 0 (0:0)
> 2. Touch contact 1 (0:0, 1:1)
> 3. Lift contact 0 (1:1)
> 4. Touch contacts 2,3 (0:2, 1:3)
>
> In step 4, slot 1 was not being cleared first, which means the same
> tracking ID was being used for reporting both the old contact 1 and the
> new contact 3. This could result in "drumroll", where the old contact 1
> would appear to suddenly jump to new finger 3 position.
>
> Similarly, if contacts 2 & 3 are not detected at the same sample, step 4
> is split into two:
>
> Action SGM AGM (MTB slot:contact)
> 1. Touch contact 0 (0:0)
> 2. Touch contact 1 (0:0, 1:1)
> 3. Lift contact 0 (1:1)
> 4. Touch contact 2 (0:2, 1:1)
> 5. Touch contact 3 (0:2, 1:3)
>
> In this case, there was also a bug. In step 4, when contact 1 moves from
> SGM to AGM and contact 2 is first reported in SGM, slot 0 was actually
> empty. So slot 0 can be used to report the new SGM (contact 0),
> immediately. Since it was empty, contact 2 in slot 0 will get a new
> tracking ID.
>
> Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Applied, thank you Daniel.
--
Dmitry
prev parent reply other threads:[~2013-02-14 4:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 8:29 Daniel Kurtz
2013-02-14 4:27 ` Dmitry Torokhov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130214042715.GD2472@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=benh@kernel.crashing.org \
--cc=chase.douglas@canonical.com \
--cc=cywang@chromium.org \
--cc=djkurtz@chromium.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rydberg@euromail.se \
--cc=seth.forshee@canonical.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®