How do I get mouseClicked () ?

edited June 2017 in Android Mode

Hello guys, when I put on an Android device a code with the function mouseClicked (), it not get me any mouseClicked event, simply it not respond to it.

mousePressed () and mouseReleased () are recognized but I need mouseClicked () in the specific, can someone help me?

Thanks.

latto

Tagged:

Answers

  • Wouldn't mouseReleased() be enough in your case? If you use ketai library, you can check the gesture example. A tap event would be a mosueClicked event. To check the example, visit ketai.org and go to examples>>gesture. Notice however, the library might not work properly under Android Mode 4.0 so if you want to play safe, use Android Mode v3.0.2. I am not 100% sure if the gesture examples have been affected by the latest changes in the Android Mode.

    Kf

Sign In or Register to comment.