virtualx-engine/platform/android/java/lib
Michael Conrad cc2547a9e9 Fix joystick axis mapping issues with NVIDIA shield. Probably others.
Issues addressed:

a) Axis mappings were including virtual mouse axes on NVIDIA Shield TV.

The virtual mouse axes have the same axis numbers as the normal analog stick numbers. This was completely breaking joypad support on NVIDIA Shield TV.

b) Joypads were being tracked in a List with the index in the list being treated as the Godot device id.

If a device were to be removed, any device later in the list would be shifted, potentially causing future events with the shifted joypads to have incorrect IDs according to the Godot engine.

c) Unnecessary events were being sent to the Godot engine.

A check was added (per Joystick) that will prevent sending events for all axes when only a single axis value changed.
A similar check was added for "HATs".

See #45712
2021-02-09 08:37:22 -05:00
..
aidl/com/android/vending/licensing Complete the implementation of the GodotPayment plugin. 2020-03-17 17:43:09 -07:00
patches Split the Android platform java logic into an Android library module (lib) and an application module (app). 2019-09-04 16:20:22 -07:00
res Fix issue causing the textedit to move upward 2020-08-30 10:42:38 -07:00
src Fix joystick axis mapping issues with NVIDIA shield. Probably others. 2021-02-09 08:37:22 -05:00
AndroidManifest.xml Vulkan rendering for Android 2020-04-03 11:18:59 +02:00
build.gradle add search extensions for scons' path 2021-01-30 20:13:01 +08:00
THIRDPARTY.md Split the Android platform java logic into an Android library module (lib) and an application module (app). 2019-09-04 16:20:22 -07:00