HTM5 on iPhone and iPad - MouseMove() - How?
Monkey Targets Forums/HTML5/HTM5 on iPhone and iPad - MouseMove() - How?
| ||
Does anybody have a working HTML example of a simple If MouseDown(0) or TouchDown(0) get MouseX() , MouseY() ? on the iPad or iPhone. I've tried various HTML5 templates on the iPad and different monkey code, but I can't seem get it working, Monkeytest HTML |
| ||
Mojo does not currently support the HTML events touchstart, touchmove and touchend which need to be processed for this to work. http://developer.apple.com/library/safari/#documentation/AudioVideo/Conceptual/HTML-canvas-guide/AddingMouseandTouchControlstoCanvas/AddingMouseandTouchControlstoCanvas.html |
| ||
Thanks for the feedback. Got a Dom based version working using the concept from the link. The dom module needs a few additions to allow it. If anyone is interested, I'd be happy to share my solution. It would be great this came with mojo by default. |