soulwire/sketch.js

Add mouse position to touches array

Closed this issue · 0 comments

This will allow for transparent multitouch handling even on non-multitouch platforms. For example, a mousemove handler could respond to all touches by default and on non-multitouch devices this would just parse the 0th element, being the mouse.