So far I’ve been always using MouseEvents in my apps since I didn’t need multitouch. However now I have implemented my own system for pinching and in order it to work I must set Multitouch.inputMode to MultitouchInputMode.TOUCH_POINT. Everything works great, however…all my MouseEvents stopped working on ios. On Android I get both MouseEvents and TouchEvents however on ios all I get are TouchEvents, so big part of my code stopped working : (
Is there a way to still recieve mouse events even when input mode is set to touch point? I don’t want to use conditionals like this:
#if neko
addEventListener(MouseEvent.CLICK, clickFunction);
#else
addEventListener(TouchEvent.TOUCH_BEGIN, touchFunction);
#end
edit: ok, so MouseEvents work on ios, however I must set input mode to touch input before adding any MouseEvent listeners
I do the same, but MouseEvent stops working on iOS.
While I can replace MOUSE_DOWN and MOUSE_UP with TOUCH_BEGIN and TOUCH_END.
Both CLICK and TOUCH_TAP stop working completely.
Should be set at the very beginning, when app starts.
But even with that, TOUCH_TAP is not firing, which is not a big problem for me. All other events are working fine.