New issue
Advanced search Search tips

Issue 649521 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

PointerEvent pressure is 0 during right-clicks

Project Member Reported by brentons@google.com, Sep 22 2016

Issue description

I've triggered and released each button on both my trackpad and Wacom tablet with this test: http://codepen.io/appsforartists/pen/NRdLrv

Here are the results

| Input (pointerdown)        | event.pointerType | event.buttons | event.pointerId | event.pressure |
| -------------------------- | ----------------- | ------------- | --------------- | -------------- |
| Wacom tap                  | mouse             | 1             | 1               | 1              |
| Wacom stylus tip           | pen               | 1             | 2               | 0.521656865596 |
| Wacom stylus lower button  | pen               | 2             | 2               | 0              |
| Wacom stylus upper button  | mouse             | 4             | 1               | 1              |
| Wacom stylus eraser        | pen               | 1             | 2               | 0.356490206480 |
| MacBook one-finger click   | mouse             | 1             | 1               | 1              |
| MacBook two-finger click   | mouse             | 2             | 1               | 0              |

Notice that for event.buttons==2 on both my trackpad and tablet, event.pressure is 0.  This should be consistent with the other button presses (currently specified to .5, but that may change in https://github.com/w3c/pointerevents/issues/147).
 

Comment 1 Deleted

Project Member

Comment 2 by sheriffbot@chromium.org, Sep 23 2016

Labels: Hotlist-Google
Owner: lanwei@chromium.org
Status: Assigned (was: Untriaged)
Lan, any update on this issue?

Comment 5 by lanwei@chromium.org, Apr 27 2017

Once I land the isPrimary issue, I will test stylus thoroughly and go through all the pointer events issues.
Labels: -Pri-2 Pri-3

Sign in to add a comment