On Wed, Jul 8, 2015 at 11:38 PM, Peter Hutterer <[email protected]> wrote:
> > and since we say that we normalize to [0, 1], the _correct_ value is 1 when > we have a touch. it makes client code more straightforward because you can > rely on the value being useful. > if clients end up needing to know whether there is pressure, a > event_touch_has_pressure() is probably the best option. > I would think the chances that a touch-capable panel manages to never return a value other than 1 is low, and thus a client can probably figure it out be checking whether it ever got a value != 1.0.
_______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
