Bug 20107 - Pointer events should indicate stylus eraser/inversion
Pointer events should indicate stylus eraser/inversion
Status: RESOLVED FIXED
Product: PointerEventsWG
Classification: Unclassified
Component: Pointer Events specification
unspecified
PC Windows NT
: P2 normal
: ---
Assigned To: Jacob Rossi [MSFT]
This bug has no owner yet - up for the taking
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-28 00:57 UTC by Jacob Rossi [MSFT]
Modified: 2012-12-19 00:36 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Rossi [MSFT] 2012-11-28 00:57:32 UTC
Opened on behalf of Brandon Wallace:

From: Jacob Rossi <Jacob.Rossi@microsoft.com> 
Date: Fri, 28 Sep 2012 18:50:30 +0000
To: Brandon Wallace <brandon.wallace@yahoo.com>, "public-pointer-events@w3.org" <public-pointer-events@w3.org> 
Message-ID: <D0BC8E77E79D9846B61A2432D1BA4EAE0667DB9A@TK5EX14MBXC287.redmond.corp.microsoft.com> 

From: Brandon Wallace <brandon.wallace@yahoo.com>
Date: Wed, 26 Sep 2012 09:44:27 -0700 (PDT)
Message-ID: <1348677867.65254.YahooMailNeo@web113601.mail.gq1.yahoo.com> 
To: "public-pointer-events@w3.org" <public-pointer-events@w3.org>
> The spec does not seem to include any way to determine when the stylus eraser is generating events.  Or even if the stylus is being used while inverted.  Would these events show up with additional pointerType values?  Or would there be additional properties on the pointer event to express this state?
> 
> Brandon

I think it'd be exposed through the button/buttons properties (see my other mail).  It's still a pen stylus, but a different button (tip is the primary, barrel is the secondary, second barrel might be the "middle" button, not sure yet what the best value for eraser is though). IE10 just supports the tip and barrel button. 

DOM3 Events set up a pattern for assigning values to additional mouse buttons. We might want to do the same in this spec. We define the most common modifiers on devices today, and define a convention for assigning additional values in the future.

-Jacob




http://lists.w3.org/Archives/Public/public-pointer-events/2012JulSep/0013.html
Comment 1 Jacob Rossi [MSFT] 2012-12-19 00:36:42 UTC
Per 12/4 and 12/18 telecons, making change as suggested. Added pen eraser as values of 5 and 32 for button and buttons, respectively.

RESOLUTION: http://www.w3.org/2012/12/18-pointerevents-minutes.html
http://www.w3.org/2012/12/04-pointerevents-minutes.html

http://dvcs.w3.org/hg/pointerevents/rev/8b51c3135749