Android Simplicity

How-To #20: Connect PS3 Controller to Android Emulators

With Android 3.1, USB Host Capability has been brought to the Android. What this means is that many USB peripherals can now be plugged in and used with Android 3.1 devices. The people at Booya Gadget has demonstrated how easy it is to use a PS3 with a Xoom Tablet. 


Note that although Honeycomb brings support to standard HID devices, the PS3/xBox360 are nonstandard HID devices so the lib files for the drivers must be loaded in the build of the ROM(i.e. the OS build).  Those unlucky people with OEM roms without the non standard HID driver support on their Android must get a custom rom with the preload lib files. Personally, I wouldn't mess with loading the lib files unless you know what you are doing with linux and Android ROMs.


Additionally, the Android device must also have USB host enabled in the hardware(this is already done in software). Some devices, like the Samsung Galaxy 10.1, requires the purchase of USB host enabled adapters


As always, if you are unsure if your Android has the necessary PS3 drivers or USB host enabled in hardware, it doesn't hurt to plug the PS3 to it a try. If all else fails, purchase a Wii controller.


Update: If you have root access and if your Android OS does not have the loaded .lib files then check out this program: Sixaxis Controller. You may want to run the Sixaxis checker before buying the program to see if it will work on your device. Read the Sixaxis instructions to get started with the app.

What you will need:
2. An Android Emulator
3. microUSB Host or micro USB to USB Female Cable USB-OTG N900 some or other connect that enables USB host

Instructions:
1. Connect the micro USB to USB Female Cable to the PS3 Controller
2. Install the Emulator. Either search on the market or download from this link
3. Open the emulator and "map" the keys. Here is how to map the keys for the NESOID
  • Hit the settings menu / Input Settings / Key mappings.
  • Optional:  You may also need to go to nesoid/settings/Other Setings and enable “Use input method”.
  • OptionalIf you still cant push any buttons, go to Map your keys and make sure on phone/tablet settings/input that your CURRENT input device is set to IME.

5 comments:

Anonymous said... Best Blogger TipsBest Blogger Templates

Does this need root access?

Tony Le said... Best Blogger TipsBest Blogger Templates

No, you dont need root.

Danny said... Best Blogger TipsBest Blogger Templates

Any way to do this with the Evo 3D yet?

Tony Le said... Best Blogger TipsBest Blogger Templates

Yes, if your model has Honeycomb. Just plug in to the micro USB using an adapter

James said... Best Blogger TipsBest Blogger Templates

Does anyone know if there is a way to install lib files on a rooted galaxy s2 with the stock rom? I would love to use this but I do not want to install a custom rom.

Post a Comment

Popular Posts
AndroidSim Mobile App
Archive
What are you using?