Contact emails
lan...@chromium.org, mus...@chromium.org, rby...@chromium.org
Spec
https://w3c.github.io/pointerevents/#dom-pointerevent-tangentialpressure
https://w3c.github.io/pointerevents/#dom-pointerevent-twist
Summary
Adding support of tangentialPressure and twist attributes in PointerEvent API on Mac.
TangentialPressure is the normalized tangential pressure (or barrel pressure), typically set by an additional control of the stylus, which has a range of [-1,1].
Twist is the clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359].
Motivation
There are requests in the W3C PointerEvents WG that suggested us to support tangentialPressure and twist attributes for pointer events. According to NSEvent spec, Mac supports them, and we saw that Wacom Intuos Pro with XYZ stylus reports both field on Mac.
https://github.com/w3c/pointerevents/issues/70
https://github.com/w3c/pointerevents/issues/25
Interoperability and Compatibility risk
No risk. These attributes are recent additions PointerEvent API and we don’t know about any other implementation.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?
Yes
Demo link
https://output.jsbin.com/pahefaz/quiet/
OWP launch tracking bug
Link to entry on the Chrome Platform Status
https://www.chromestatus.com/feature/5765742146355200
Requesting approval to ship
YesContact emails
lan...@chromium.org, mus...@chromium.org, rby...@chromium.org
Spec
https://w3c.github.io/pointerevents/#dom-pointerevent-tangentialpressure
https://w3c.github.io/pointerevents/#dom-pointerevent-twist
Summary
Adding support of tangentialPressure and twist attributes in PointerEvent API on Mac.
TangentialPressure is the normalized tangential pressure (or barrel pressure), typically set by an additional control of the stylus, which has a range of [-1,1].
Twist is the clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359].
Motivation
There are requests in the W3C PointerEvents WG that suggested us to support tangentialPressure and twist attributes for pointer events. According to NSEvent spec, Mac supports them, and we saw that Wacom Intuos Pro with XYZ stylus reports both field on Mac.
https://github.com/w3c/pointerevents/issues/70
https://github.com/w3c/pointerevents/issues/25
Interoperability and Compatibility risk
No risk. These attributes are recent additions PointerEvent API and we don’t know about any other implementation.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
LGTM2
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Sorry for the confusion, we are shipping these two attributes on all platforms, but now we have a CL which only supports them on Mac, https://codereview.chromium.org/2587393004/.We are planning support them on Windows and ChromOS next. You will see value 0 if the platforms do not support them.
On Tue, Jan 17, 2017 at 11:54 AM PhistucK <phis...@gmail.com> wrote:
On one hand, you mention "Mac" quite a lot, but on the other hand, you mention that the features will be supported in all of the Blink platforms - will they only be supported on macOS in practice?Will non-supporting platforms/devices still expose the properties with null values?☆PhistucK
On Tue, Jan 17, 2017 at 6:33 PM, Dimitri Glazkov <dgla...@chromium.org> wrote:
LGTM2
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Right, and my guidance (up for debate here of course) was that we should ship the new properties once they were wired up on at least one platform. Most hardware is going to report 0 anyway, so there's no real benefit in holding back shipping the API until it's wired up on all platforms IMHO, but we should work to get all platforms wired up ASAP.
On Tue, Jan 17, 2017 at 12:16 PM, 'Lan Wei' via blink-dev <blin...@chromium.org> wrote:
Sorry for the confusion, we are shipping these two attributes on all platforms, but now we have a CL which only supports them on Mac, https://codereview.chromium.org/2587393004/.We are planning support them on Windows and ChromOS next. You will see value 0 if the platforms do not support them.
On Tue, Jan 17, 2017 at 11:54 AM PhistucK <phis...@gmail.com> wrote:
On one hand, you mention "Mac" quite a lot, but on the other hand, you mention that the features will be supported in all of the Blink platforms - will they only be supported on macOS in practice?Will non-supporting platforms/devices still expose the properties with null values?☆PhistucK
On Tue, Jan 17, 2017 at 6:33 PM, Dimitri Glazkov <dgla...@chromium.org> wrote:
LGTM2
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.