overbound / SonicTimeTwisted

Source Code for a Sonic Fan Game Made in Game Maker Studio
https://overboundstudio.com/
GNU General Public License v3.0
58 stars 16 forks source link

Joy-Con support on Android 11 #170

Closed AlexKhayrullin closed 3 years ago

AlexKhayrullin commented 3 years ago

The game's custom Java library includes special mappings to manage Joy-Cons on Android, but this system conflicts with the changes in Android 11.

The supported low-level mappings need to be edited to only use them up to Android version 10. New Android 11-specific mappings need to be created.

However, there's an issue that can't be fixed or circumvented: on Android 11, the four-button D-Pad on the left Joy-Con doesn't work, the events they trigger all have the same keycode, which makes the Java code unable to tell them apart, so the D-Pad on the Joy-Cons is officially unsupported on Android 11.