Closed
Bug 1823510
Opened 2 years ago
Closed 3 months ago
Pointer Events: implement altitudeAngle and azimuthAngle
Categories
(Core :: DOM: UI Events & Focus Handling, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 1656377
People
(Reporter: redux, Unassigned)
References
(Blocks 1 open bug)
Details
Steps to reproduce:
- Go to https://patrickhlauke.github.io/touch/pen-tracker/ on a device with a stylus (either something like a Surface, or using a Wacom tablet with an advanced stylus that also registers the stylus tilt)
- Move the stylus around the digitzers
Actual results:
Notice that altitudeAngle and azimuthAngle are reported as undefined.
Expected results:
While level 3 of the specification is still in draft, I'd love to see an implementation of these two new properties.
https://w3c.github.io/pointerevents/#dom-pointerevent-altitudeangle
https://w3c.github.io/pointerevents/#dom-pointerevent-azimuthangle
As Firefox already supports tiltX/tiltY, it should hopefully be straightforward to backfill these properties following the algorithm sketched out here https://w3c.github.io/pointerevents/#converting-between-tiltx-tilty-and-altitudeangle-azimuthangle
Reporter | ||
Updated•2 years ago
|
Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core
Updated•2 years ago
|
Blocks: pointerevent
Updated•1 year ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•3 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•