Re: [pointerevents] tiltX and tiltY aren't as helpful as just having altitude angle (#274)

What hardware? iOS certainly does not provide xTilt and yTilt.

Not all hardware uses an eight-bit micro and, even then, every event here is going through the browser engine, where the overhead from the trig function is going to be negligible compared to the event dispatch, the call into JavaScript, and then the processing JavaScript will do. This is premature optimization to the extreme.

Again, since most apps will want azimuth and altitude, it makes more sense to serve those values and let the smaller number of apps that want tiltX and tiltY to calculate that as needed.



-- 
GitHub Notification of comment by grorg
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/274#issuecomment-458332796 using your GitHub account

Received on Monday, 28 January 2019 22:45:55 UTC