linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Henrik Rydberg <rydberg@euromail.se>
To: Peter Hutterer <peter.hutterer@who-t.net>
Cc: Ping Cheng <pinglinux@gmail.com>,
	Chris Bagwell <chris@cnpbagwell.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	"X.Org Devel List" <xorg-devel@lists.freedesktop.org>,
	linux-input <linux-input@vger.kernel.org>
Subject: Re: [RFC] Multi-Touch (MT) support - arbitration or not
Date: Thu, 11 Nov 2010 01:48:44 +0100	[thread overview]
Message-ID: <4CDB3D6C.2000507@euromail.se> (raw)
In-Reply-To: <20101110235355.GB4473@barra.bne.redhat.com>

On 11/11/2010 12:53 AM, Peter Hutterer wrote:

> On Wed, Nov 10, 2010 at 11:00:05AM +0100, Henrik Rydberg wrote:
>> A comment on pixels and resolution:
>>
>> A pen and a thumb may have different resolution (signal-to-noise ratio), but
>> there is no reason they cannot be reported on the same scale. In fact, it could
>> be argued that it is natural for objects on the same surface to be reported in
>> the coordinate system of the surface.
> 
> it may be natural from a human perspective, but the computer doesn't care
> about it.


The fact that we discuss a computer protocol suggests the computer does care.
;-) The question is whether we need to be able to support different scales for
different tools types. I argue that among the three things value range, physical
range and SN ratio, the one most naturally seen as an attribute of a tool is the
SN ratio.

> And given that most input device interpretation is done in
> software, the scale used doesn't matter as long as it's correct.

> in the UI, even with different ranges for different tools, top-left should
> refer to whatever coordinate that is.
> 
> in other words, if the pure numbers matter in the UI, we've done something
> wrong.

> 
> what benefit do we get from reporting tools on the same scale if the HW
> doesn't do so?


The question is, given a set of tool types reported via MT events, what
additional information is needed. Having tools share the same ABS axes, I would
like to see that as a good thing. So what is missing from that picture?

>> So, if anything, the resolution is object/sensor dependent, and adding a
>> possibility to specify resolution per object type would be good. It would also
>> be good to know the physical dimensions of the surface.
> 
> well, the physical dimensions are exported through the resolution, isn't it?
> if I have a range of 0-1000 and a resolution of 100 units per cm, I can
> guesstimate the phys size of the device.


I see, we are apparently using different meanings of resolution. I meant
signal-to-noise ratio, the number of distinctly measurable different values. If
you mean how many ticks on your scale there are in an inch, you are of course
right. The SN ratio is still unknown, though - that would be how many
_different_ ticks there are in an inch.


> I know that in the X protocol resolution is specified in units/m, but given
> previous threads the kernel seems to be ambiguous here, alternating between
> in and mm.


Using finger width is another means of estimation.

Cheers,
Henrik

  reply	other threads:[~2010-11-11  0: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
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 [this message]
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=4CDB3D6C.2000507@euromail.se \
    --to=rydberg@euromail.se \
    --cc=chris@cnpbagwell.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=peter.hutterer@who-t.net \
    --cc=pinglinux@gmail.com \
    --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).