Skip to content

Android: Virtual Joystick showing by default in 3.10.0 #2928

Description

@terranprog

Observed Behaviour
After upgrading android app from 3.9.0 to 3.10.0-beta2, a new "virtual joystick" appears on the screen.
It has to be explicitly turned off. Using settings.setVirtualJoystick(AppSettings.VIRTUAL_JOYSTICK_DISABLED);

Expected Behaviour
Virtual joystick should not appear by default.

Caused by #2803 Virtual/on-screen joystick support
"VirtualJoystick can be used to set the virtual joystick mode , defaults to VIRTUAL_JOYSTICK_AUTO"

"VIRTUAL_JOYSTICK_AUTO will automatically display the virtual joystick on mobile, if there is at least one joystick bind registered by the app, and if there is not an hardware joystick connected"

Fix: is to default settings.VirtualJoystick to VIRTUAL_JOYSTICK_DISABLED.
It can be enabled if desired by the application developer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues that affect the Wiki, Javadoc or any other form of documentation

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions