Skip to content

Android virtual joystick disappeared due to virtual keyboard events #2948

Description

@terranprog

I saw this issue happen once.

jME 3.10.0-beta2

To reproduce:

  1. Set virtual joystick to AppSettings.VIRTUAL_JOYSTICK_AUTO
  2. Run application on an Android phone with touchscreen and no physical keyboard -> virtual joystick will appear

I used the app for many hours. One time, the virtual joystick just disappeared and wouldn't come back. I had to restart the app to get it back.
In VIRTUAL_JOYSTICK_AUTO, the joystick should disappear if a keyboard event is detected. This should not have been possible as my device does not have a keyboard.

A.I. theorised that android can send virtual keyboard events even if there is no physical keyboard. And that the joystick handler should differentiate between physical keyboard events and virtual keyboard events.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions