Skip to content

Android: Allow virtual joystick and touch events at the same time - #2951

Open
terranprog wants to merge 1 commit into
jMonkeyEngine:masterfrom
terranprog:fix/android-joystick-touch-inputs
Open

Android: Allow virtual joystick and touch events at the same time#2951
terranprog wants to merge 1 commit into
jMonkeyEngine:masterfrom
terranprog:fix/android-joystick-touch-inputs

Conversation

@terranprog

Copy link
Copy Markdown
Contributor

Improve handling of android touch events when virtual joystick is being used.
Previously it was not possible to move using the joystick AND rotate the camera using the touch screen at the same time. You could do one or the other at any one time. If you were using the joystick, touch events would be ignored.
This change fixes that so the user can move forward/back/left/right AND rotate the camera at the same time; just like using a mouse and keyboard.
Disclaimer: this is done using Claude code. I don't have the expertise to understand the changes and what they do. This code should be reviewed by a human who understands this part of the engine.
I found it a big improvement to the UX of my android application so I think it should be seriously considered for inclusion.

…ng used. Previously it was not possible to move using the joystick AND rotate the camera using the touch screen at the same time. You could do one or the other at any one time. This change fixes that so the user can move forward/back/left/right AND rotate the camera at the same time; just like using a mouse and keyboard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant