Here is the lastet code im uses in Greedy Mouse. Its all based on Android.Scancode() and KEY().
android.Scancode() (if im remember the correct one), is same as KEY(), but its return a float, rather than a int. Analoge buttons returns anything from 0-1 (so make sure you set a deadzone).
Since Android controllers is not implemented to joy commands is simple becauseā¦. its 100% impossible to do. that is due they are seen as a keyboard and there is really no mapping standard.
The only quite standard one is one stick/dpad (make sure to checks both) and the 4 face buttons. Rest does not follow a standard at all (unlike Windows)!
GameInput does also have a remapping, but mightbeen a little bit compliced one. In PowerUp Elevation im did even not choice to use this one this time.
But you are very wellcome to use GameInput :-).