W3C home > Mailing lists > Public > public-pointer-events@w3.org > April to June 2015

Re: Hover click with pointer events

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Wed, 17 Jun 2015 23:56:08 +0100
To: public-pointer-events@w3.org, "tdresser@google.com >> Tim Dresser" <tdresser@google.com>
Message-ID: <5581FB08.1060708@splintered.co.uk>
On 17/06/2015 23:19, Jacob Rossi wrote:
> On Tue, Jun 16, 2015 at 10:26 AM, Tim Dresser <tdresser@google.com> wrote:

>>   I'd be fine with forcing developers to listen for pointerup/pointerdown events to keep track of hover.
> Yeah I agree. This seems like the safest place to start.  I opened up an issue to track this and will take a look at a spec patch to address this.

Just to confirm my suspicion that a hovered stylus does, predictably, 
have a pressure of 0...so getting a pointermove event with zero pressure 
it's a fair bet that it's a hovered (at very very gently brushing 
against the screen) movement, for instance. As such we're probably right 
not to magic up a new touching/not touching attribute.

Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
Received on Wednesday, 17 June 2015 22:56:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 17 June 2015 22:56:33 UTC