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: Mon, 15 Jun 2015 13:48:37 +0100
To: public-pointer-events@w3.org
Message-ID: <557EC9A5.2030906@splintered.co.uk>
On 22/04/2015 15:47, Timothy Dresser wrote:
> The pointer event spec currently has no way of expressing a button press
> on a hovering pen
> (https://w3c.github.io/pointerevents/#dfn-chorded-buttons). There is no
> allowed value for |buttons| if a pen is hovering with a button pressed.
> This is supported by modern styli, for instance the Wacom Bamboo has a
> "Hover Click" feature (described on page 43 of
> http://us.wacom.com/~/media/WTC/Files/Manuals/Legacy/Bamboo%20Pen%20Bamboo%20Touch%20Bamboo%20Fun.pdf).
> Is this a scenario we want to enable?

I'd actually love to see this scenario enabled (being able to get button 
states on hovered stylus/pen).

 From some basic testing I just did with a Surface 3 and Surface Pen, it 
seems that the "eraser" and "right-click" buttons are not passed on when 
hovering (though in the case of the latter, Windows itself does 
recognise that it's pressed, as it displays an additional visual circle 
indicator on the "dot" that normally appears when hovering close enough 
to the screen). It's only once the pen tip touches the screen that 
e.buttons changes accordingly. (IE11/Win8.1 - don't have any means of 
testing the pen on a Win10/Edge setup just yet).

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 Monday, 15 June 2015 12:49:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 15 June 2015 12:49:06 UTC