[RFC] Multi-Touch (MT) support - arbitration or not
Peter Hutterer
peter.hutterer at who-t.net
Wed Nov 10 15:53:55 PST 2010
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. 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?
> 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 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.
Cheers,
Peter
More information about the xorg-devel
mailing list