Open niedfelj opened 4 years ago
To get this to work with the current hammerjs and modern browsers, I had to explicitly setup hammerjs with an inputClass designation:
let hammertime = new Hammer(canvas, { inputClass: Hammer.TouchInput })
Otherwise it was only recognizing pointer events and not multitouch events needed for things like pinch/rotate etc.
Thank you! This got hammer working with this emulation.
Thank you so much! Finally got this working thanks to this :)
To get this to work with the current hammerjs and modern browsers, I had to explicitly setup hammerjs with an inputClass designation:
let hammertime = new Hammer(canvas, { inputClass: Hammer.TouchInput })
Otherwise it was only recognizing pointer events and not multitouch events needed for things like pinch/rotate etc.