1. Rooted my device;
2. Downloaded an linux joypad kernel module that someone compiled for Android (joydev.ko) and loaded it w/ command:
$ insmod joydev.ko
3. Plugged my USB Joypad;
4. Changed permissions of /dev/input/js0 device link, with this command (needed for GamepadIME to work on my device):
Code: Select all
$ chmod 666 /dev/input/js*
5. Installed Gamepad IME app from Google Play (https://play.google.com/store/apps/details?id=de.killig.gamepadime);
6. Gone to Config -> Language & Keyboard, and in "Keyboard configuration", I've disabled all IME devices except Gamepad IME (created by Gamepad IME app), thus making it default one;
7. If joypad don't work until step 6, just go to Config -> Language & Keyboard and enter in any IME device configuration screen. It should appear an message in the middle of screen, telling device is detected. If it still don't work, go to Config -> Manage Applications -> Gamepad IME and choose "Force Close", and then repeat step 7.
Doing steps above, my USB joypad worked on Android. Button presses are translated as keypresses. The digital pad directions are translated to WASD keys, and his buttons to numeric keyboard keys. This way, I can play games on most Android emulators with my joypad.
But from all emulators I've tested (about seven emulators for different consoles), the only one that isn't working is FPse. I can't map any joypad button to HW keys. When I press a button, nothing happens. And strangely enough, It works when I plug an USB Keyboard to my device.
It was working before. When I was using FPse v0.10.10, I could map joypad buttons to HW keys nicely, so I think it may be a little bug simple to be solved.