I'm trying to get up to speed on HTML5 by prototyping an extremely simple drawing app using <canvas>
and touch events like ontouchstart
and ontouchmove
.
This is displaying and working fine in an Android emulator where I use mouse clicks to simulate touch events. However, it doesn't work at all when running in my desktop browser (Safari 5.1.1, Firefox 7 on Windows).
I thought the mouse click events would be interpreted as touch events like they are when running within the emulator.
I wonder now if perhaps desktop browsers simply don't support touch events.