From: Ping Cheng <pinglinux@gmail.com>
To: Daniel Stone <daniel@fooishbar.org>,
"X.Org Devel List" <xorg-devel@lists.freedesktop.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-input <linux-input@vger.kernel.org>
Subject: Re: [RFC] Multi-Touch (MT) support - arbitration or not
Date: Sun, 7 Nov 2010 15:49:47 -0800 [thread overview]
Message-ID: <AANLkTinR33Y1TKa-=HA87AXkFpGv5Mryap7YoWTPM9kC@mail.gmail.com> (raw)
In-Reply-To: <20101107163037.GR14865@fooishbar.org>
On Sun, Nov 7, 2010 at 8:30 AM, Daniel Stone <daniel@fooishbar.org> wrote:
>> 1. Arbitrate all touch data in the kernel.
>>
>> This is the simplest solution for device driver developers. But I do
>> not feel it is end user and userland client friendly.
>>
>> [...]
>>
>> 3. Report first finger touch as ABS_X/Y events when pen is not in prox;
>> Report pen data as ABS_X/Y events when there is no finger touch;
>> Report touch data as MT_TOOL_TOUCH and pen data as MT_TOOL_PEN
>> events when both pen and touch data are received. No ABS_X/Y are
>> reported when pen and tocuh or multi-touch data are received.
>>
>> I feel this one makes sense to userland since pen can be considered as
>> another touch.
>
> I'd say that either #1 or #3 is the best idea here, simply because they
> seem to be the most straightforward, and thus easier to support.
> Assuming that xf86-input-wacom will track the state itself and decide
> (using whatever criteria) which events should send core x/y motion, then
> all you need to do with ABS_[XY] is just make a best effort to have it
> more or less work for dumb userspace clients.
Sorry for the noise (hit a wrong key).
There are two major differences between #1 and #3:
1. #3 does not report any ABS_XY data when both pen and touch data
are received (#1 still sends pen ABS_X/Y);
2. #3 sends both pen and touch data as MT events when both types of
data are received (#1 only sends pen data).
Which option do you like? We could go with a simple option. But that
would close the door to those feature rich applications.
Ping
Ping
--
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
next prev parent reply other threads:[~2010-11-07 23:49 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-05 18:47 [RFC] Multi-Touch (MT) support - arbitration or not Ping Cheng
2010-11-06 15:16 ` Chris Bagwell
2010-11-06 15:53 ` Michal Suchanek
2010-11-06 20:38 ` Rafi Rubin
2010-11-08 3:39 ` Peter Hutterer
2010-11-07 23:32 ` Ping Cheng
[not found] ` <AANLkTin1svszp87Pysi5OCt5=JTSB-yVaAWF-42gfn9T-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-07 16:30 ` Daniel Stone
2010-11-07 21:07 ` Michal Suchanek
2010-11-07 23:38 ` Ping Cheng
2010-11-07 23:49 ` Ping Cheng [this message]
2010-11-08 0:53 ` Mohamed Ikbel Boulabiar
2010-11-08 3:51 ` Peter Hutterer
2010-11-08 8:08 ` Benjamin Tissoires
2010-11-08 21:54 ` Chris Bagwell
2010-11-08 23:33 ` Ping Cheng
2010-11-09 3:42 ` Chris Bagwell
2010-11-09 3:31 ` Peter Hutterer
2010-11-09 4:14 ` Chris Bagwell
2010-11-10 4:46 ` Peter Hutterer
2010-11-11 3:57 ` Chris Bagwell
2010-11-11 18:23 ` Ping Cheng
2010-11-09 6:59 ` Dmitry Torokhov
2010-11-09 16:28 ` Chris Bagwell
2010-11-09 20:10 ` Ping Cheng
2010-11-10 5:02 ` Peter Hutterer
2010-11-10 10:00 ` Henrik Rydberg
2010-11-10 23:53 ` Peter Hutterer
2010-11-11 0:48 ` Henrik Rydberg
2010-11-11 1:22 ` Dmitry Torokhov
2010-11-11 8:06 ` Michal Suchanek
2010-11-11 8:26 ` Dmitry Torokhov
2010-11-11 9:35 ` Michal Suchanek
2010-11-11 19:01 ` Ping Cheng
2010-11-11 19:24 ` Dmitry Torokhov
2010-11-11 19:41 ` Henrik Rydberg
2010-11-11 19:55 ` Dmitry Torokhov
2010-11-11 21:25 ` Ping Cheng
2010-11-11 21:38 ` Henrik Rydberg
2010-11-11 22:10 ` Ping Cheng
2010-11-11 23:21 ` Michal Suchanek
2010-11-12 8:21 ` Henrik Rydberg
2010-11-14 20:40 ` Ping Cheng
2010-11-09 18:10 ` Ping Cheng
2010-11-09 20:36 ` Michal Suchanek
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='AANLkTinR33Y1TKa-=HA87AXkFpGv5Mryap7YoWTPM9kC@mail.gmail.com' \
--to=pinglinux@gmail.com \
--cc=daniel@fooishbar.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=xorg-devel@lists.freedesktop.org \
/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;
as well as URLs for NNTP newsgroup(s).