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.
The sensor hardware. Even with an Apple pencil the touch sensor measures 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.
Everything going thru the browser engine went thru the OS first, and the low level native API is usually xTilt, yTilt (Windows, Mac, and Linux).
https://docs.microsoft.com/en-us/uwp/api/windows.ui.input.pointerpointproperties.xtilt
> 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.
The Wacom Wintab API provides both and developers can choose. In this situation this would provide backward compatibility.

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

Received on Monday, 28 January 2019 23:27:15 UTC