Make Interaction events closer to Browser behavior (#3963)
* Added normalized pointer data to InteractionData.

* Use touch events for touches, not pointer events.

* Emit mouse events for pen pointer events.

Also cleaned up pointer type and mouse button detection.
1 parent e8f973e commit 2b1ca7450ad65a7df2ea1c23c0495ad08d720487
@Andrew Start Andrew Start authored on 27 Apr 2017
Chad Engler committed on 27 Apr 2017
Showing 4 changed files
View
src/interaction/InteractionData.js
View
src/interaction/InteractionManager.js
View
test/interaction/InteractionManager.js
View
test/interaction/MockPointer.js