godot/platform/android/java/lib
Michael Conrad 8777282c40 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:33:42 -05:00
..
aidl/com/android/vending/licensing Complete the implementation of the GodotPayment plugin. 2020-03-25 11:38:53 +01: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 Merge pull request #42186 from m4gr3d/3.2-android-subview 2020-09-27 20:05:33 +02:00
src Fix joystick axis mapping issues with NVIDIA shield. Probably others. 2021-02-09 08:33:42 -05:00
AndroidManifest.xml Enable legacy external storage for Android 10 2020-05-27 13:34:40 -07:00
build.gradle add search extensions for scons' path 2021-02-02 13:02:47 +01: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