This PR adds more information about stylus to event. Pan and Hover events now have stylusData field, which contains the following information:
tiltX
tiltY
altitudeAngle
azimuthAngle
pressure
[!IMPORTANT]
Because we receive only one set of data (either tiltX/tiltY or altitudeAngle/azimuthAngle, we use this conversion algorithm to calculate second set.
[!NOTE]
This PR adds stylusData only on web, native platforms will be handled in another PRs
Description
This PR adds more information about
stylus
to event.Pan
andHover
events now havestylusData
field, which contains the following information:tiltX
tiltY
altitudeAngle
azimuthAngle
pressure
Tested on newly added example.