w3c / touch-events

https://w3c.github.io/touch-events/
26 stars 24 forks source link

force property? #30

Closed patrickhlauke closed 9 years ago

patrickhlauke commented 9 years ago

Rumor has it that Apple's 3D touch adds a new force property. At the risk of opening another can of IP/patent worms, wondering if this can be considered for documentation (if it does indeed turn out to be stable). See http://www.mobilexweb.com/blog/ios9-safari-for-web-developers#update928

AFBarstow commented 9 years ago

This property is included in the Touch Events Extensions Note and the Touch Events Level 2 ED. If we have two implementations and/or have reasonable commitments to implement it, we should work toward getting the L2 spec on the REC track.

RByers commented 9 years ago

My iPhone 6s hasn't arrived yet, but I'm under the impression (based on discussions with Ben, eg. here) that it implements our force exactly as spec'd - for 3d touch and for the pencil (and so interoperable with Chrome's existing Android stylus support).

Note that Chrome has both force and (until Chrome 47) webkitForce but WebKit did the right thing and implemented only force :-).

RByers commented 9 years ago

But I'm not aware of a 2nd implementation of radiusX, radiusY or rotationAngle yet. There's some support for adding radius to WebKit here.

patrickhlauke commented 9 years ago

Oops, my bad. I remembered about radiusX, radiusY and rotationAngle, but somehow it slipped my mind that force was also spec'd already. Sorry for the noise...