port gamepad API

Still haven't tested it. Preliminary thoughts?
i got this from https://github.com/Daft-Freak/SDL-mirror/blob/master/src/joystick/android/SDL_sysjoystick.c#L341