- From: Asir Vedamuthu Selvasingh (MS OPEN TECH) <asirveda@microsoft.com>
- Date: Tue, 18 Dec 2012 05:28:00 +0000
- To: "public-pointer-events@w3.org" <public-pointer-events@w3.org>
Here are some suggested changes to resolve issue 20107.
Add a new set of button and buttons properties to section 3.1.1.1 [1] to accommodate ‘pen contact with eraser button pressed’.
state = pen contact with eraser button pressed
button = 5
buttons = 32
For supporting new buttons in the future, new values for button and button properties can be assigned by following the conventions outlined in MouseEvent.button [2] and MouseEvent.buttons [3] properties.
[1] http://www.w3.org/TR/2012/WD-pointerevents-20121211/#chorded-button-interactions
[1] http://www.w3.org/TR/DOM-Level-3-Events/#events-MouseEvent-button
[2] http://www.w3.org/TR/DOM-Level-3-Events/#events-MouseEvent-buttons
-----Original Message-----
From: bugzilla@jessica.w3.org [mailto:bugzilla@jessica.w3.org]
Sent: Tuesday, November 27, 2012 4:58 PM
To: public-pointer-events@w3.org
Subject: [Bug 20107] New: Pointer events should indicate stylus eraser/inversion
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20107
Bug ID: 20107
Summary: Pointer events should indicate stylus eraser/inversion
Classification: Unclassified
Product: PointerEventsWG
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Pointer Events specification
Assignee: jrossi@microsoft.com
Reporter: jrossi@microsoft.com
QA Contact: dave.null@w3.org
CC: public-pointer-events@w3.org
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.>
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
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 18 December 2012 05:29:34 UTC