How to implement android touch input

I implemented a game with mouse input. How do I implement touch input. I didn’t find tutorial for implementing touch input. While compiling and deploying to android, doesn’t it convert mouse event into touch input event?

It converts touch to mouse input on Android if you specify. Else if you want to handle touch yourself then you would add a RawInputlistener to InputManager.

…or just use Lemur’s support depending on what you want to do.

@pspeed How do I specify to convert mouse input into touch input?

Press F1 and go through the javadoc for AppSettings.

1 Like