linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: How to indicate hover touch when exact distance unknown?
@ 2014-09-26  4:07 Chung-Yih Wang (王崇懿)
  0 siblings, 0 replies; 12+ messages in thread
From: Chung-Yih Wang (王崇懿) @ 2014-09-26  4:07 UTC (permalink / raw)
  To: linux-input

>>How about ABS_MT_PRESENT and/or ABS_PRESENT? It would complement TOUCH in the
>>case of hovering, allow the state where the tool is there but not touching, and
>>would unambiguously advertise the capability of detecting presence. It would
>>also be forward compatible with additional capabilities, such as reporting the
>>actual distance to the surface.
>>
>>Henrik

Or how about ABS_MT_TYPE which indicates touch type of a slot (finger,
hovering, stylus, ...)?

Chung-yih

^ permalink raw reply	[flat|nested] 12+ messages in thread
* How to indicate hover touch when exact distance unknown?
@ 2014-09-23 14:37 Andrew de los Reyes
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew de los Reyes @ 2014-09-23 14:37 UTC (permalink / raw)
  To: hdegoede, Benjamin Tissoires, rydberg, jikos, David Herrmann,
	peter.hutterer, dmitry.torokhov
  Cc: Linux Input

[resending as plain text for the list]

Hi folks,

More and more we're seeing touch input devices that support detection
of fingers that are above the surface and not touching. We were
thinking of writing a kernel patch for one such device. Normally we
would indicate distance with ABS_MT_DISTANCE, but we ran into the
problem that sometimes the hardware will not be able to report a
distance (or will stop reporting a distance when it's too great a
number), and we had the (bad) idea to simply report a value or 1 or
255 or something like that when distance is unknown.

Dmitry warned that a similar thing happened with PRESSURE a while ago,
and it was a mess as different drivers did different things.

We are now wondering if we should come up with a standard way to
indicate hover with or without distance (or with distance being
optional). Dmitry had the idea for a new tool type, HOVER; FINGER
would be for touches that are actually touching.

What do folks here think?

Thanks,
-andrew

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-10-08 14:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAG_cf+dJfiqW_V1k4MfGMBNUK9Kgc4=9BPAuum7dbs6rkmAgrQ@mail.gmail.com>
2014-09-23 14:59 ` How to indicate hover touch when exact distance unknown? Benjamin Tissoires
2014-09-23 16:28   ` Dmitry Torokhov
2014-09-23 16:46     ` Andrew de los Reyes
2014-09-23 18:52       ` Henrik Rydberg
2014-09-24  0:27         ` Dmitry Torokhov
2014-09-24  4:52     ` Peter Hutterer
2014-09-24  5:28       ` Henrik Rydberg
2014-09-26 13:50         ` Benjamin Tissoires
2014-10-01 16:22           ` Dmitry Torokhov
2014-10-08 15:00             ` Henrik Rydberg
2014-09-26  4:07 Chung-Yih Wang (王崇懿)
  -- strict thread matches above, loose matches on Subject: below --
2014-09-23 14:37 Andrew de los Reyes

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).