Mouse clicks simulating touch in OSX

I have not found documentation on how mouse clicks in the OSX version of the simulator translate into touches and taps.

From experimentation it appears that a mouse click becomes two taps one on button down and another on button up.  I have not found a way to generate a touch event with the mouse.

Related to this is there any documentation avalable on how the upcomming native mode OSX version will handle the mouse?

Hi @jtorrebueno,

I’m not clear on your issue. Do you mean when simulating an iPhone or iPad in OS X (using the Corona Simulator) that taps/touched behave unexpectedly? This should not be an issue… one click should be a “tap”, and a “click plus drag” would be like a “touch + drag”.

If you’re not getting the expected behavior, it may be because you’re handling the event phases improperly within your code.

Best regards,

Brent

Hi @jtorrebueno,

I’m not clear on your issue. Do you mean when simulating an iPhone or iPad in OS X (using the Corona Simulator) that taps/touched behave unexpectedly? This should not be an issue… one click should be a “tap”, and a “click plus drag” would be like a “touch + drag”.

If you’re not getting the expected behavior, it may be because you’re handling the event phases improperly within your code.

Best regards,

Brent