FORUMS
Remove All Ads from XDA

[GUIDE] USB Gaming on Nexus S

154 posts
Thanks Meter: 34
 
By developersdevelopers, Senior Member on 27th January 2012, 08:51 AM
Post Reply Email Thread
Greetings,

The purpose of this post/thread is to describe how to use a USB gaming controller on the Nexus S, which is now possible thanks to the work of fellow XDA member sztupy. Before proceeding, I highly recommend that you read his Galaxy S thread, especially the first few posts (http://forum.xda-developers.com/show....php?t=1450298).

First, some demonstrations:
Using USB Host Controller app and Super Mario 64
Batman: Arkham City
Metro 2033
Dirt 3

DISCLAIMER: I take no responsibility for any damage you do to your phone.

1.) FLASH KERNEL AND DOWNLOAD APP

First things first, you will need ICS and to flash a kernel that has USB OTG support in it. At the time of this posting, some kernels with USB OTG are:

-steve.garon’s kernel (http://forum.xda-developers.com/show....php?t=1427352)
-mathkid95’s Matr1x kernel (http://forum.xda-developers.com/show....php?t=1361477)
-Ezekeel's GLaDoS kernel (http://forum.xda-developers.com/show....php?t=1336529)

If you do not know how to flash a kernel, please Google it. You will also need to download sztupy’s app “USB Host Controller” (https://market.android.com/details?i...hostcontroller).

2.) ACQUIRE USB CONTROLLER

Next, you will need a supported USB controller. The following should work:

-wired Xbox 360 controller
-Logitech DualAction controller
-Logitech WingMan RumblePad
-wireless Xbox 360 controller WITH wireless receiver
-wired Sony Playstation 3 controller (not yet tested)
...probably many others


3.) OTG SET UP

Thirdly, you’ll need a working USB OTG set up. Sztupy’s thread shows you a few ways of accomplishing this. Below is a (crappy) diagram of MY current working set up.

http://dl.dropbox.com/u/15806590/diagram2.png

I think this is the best set up because you don't have to buy any fancy OTG cables or USB hubs. But that's just my opinion.

In terms of the order for connecting things, I find it works best if you connect the phone LAST.

4.) FINAL STEPS

Once everything is connected, open up the “USB Host Controller” app, select the “Settings” pane, and set the Operation Mode to “Auto-host” (if you are using a set up that involves an OTG connector/cable, then you'll likely need to select OTG mode instead). If everything went right, the app will close automatically and you should be able to navigate your phone with the controller. You are now ready to game!

Just a note with the 360 controller. The middle button will always flash on and off, and will not stay lit on one quarter of the circle as on an actual Xbox. AFAIK there's no way to fix this (unless you use tape heh).
The Following 5 Users Say Thank You to developersdevelopers For This Useful Post: [ View ] Gift developersdevelopers Ad-Free
27th January 2012, 08:52 AM |#2  
OP Senior Member
Thanks Meter: 34
 
More
Games/Apps TESTED & WORKING: (This list is not meant to be comprehensive, and will be occasionally updated)

Note: Pretty much any app/game that supports button remapping (such as emulators) should work

Emulators

-nes.emu
-SNES 9X EX
-N64oid (the right analog stick is not functional)
-Mame4droid
-FrodoC64USB
-Mupen64Plus AE
-FPse

Native/Regular Android Games

-Shadowgun
-Grand Theft Auto 3
-Samurai II: Vengeance
-Riptide GP
-Meganoid
-Reckless Getaway
-Cordy
-EVAC HD
-Radiant HD
-Muffin Knight

Some (not all) of the Xperia Play compatible games will work too. See here for a comprehensive list of Xperia Play titles: http://forum.xda-developers.com/show....php?t=1217060

Other

-OnLive (!!! This means you can play the majority of onlive games that are game pad compatible)
27th January 2012, 10:16 AM |#3  
dessi_007's Avatar
Member
Thanks Meter: 8
 
More
thanks man i was thinking of a way to do this.
27th January 2012, 10:30 AM |#4  
benoit2600's Avatar
Member
Flag France
Thanks Meter: 40
 
More
This is amazing !
27th January 2012, 10:47 AM |#5  
Member
Thanks Meter: 18
 
More
I tested the Logitech Dual Action controller yesterday, it works also fine.
The Following User Says Thank You to coolfranz For This Useful Post: [ View ] Gift coolfranz Ad-Free
27th January 2012, 05:06 PM |#6  
sztupy's Avatar
Inactive Recognized Developer
Flag London
Thanks Meter: 879
 
Donate to Me
More
Hi! May I use your first diagram in my post too?
27th January 2012, 05:20 PM |#7  
OP Senior Member
Thanks Meter: 34
 
More
Sure! Be my guest.
28th January 2012, 12:42 AM |#8  
Member
Flag California / Massachusetts
Thanks Meter: 18
 
More
Cool! 10 chars
29th January 2012, 03:00 PM |#9  
OP Senior Member
Thanks Meter: 34
 
More
3 new gameplay videos added.
29th January 2012, 09:42 PM |#10  
Member
Thanks Meter: 32
 
More
nice. any idea if this works with the controllers for the original Xbox? I have a modded Duke I use on the computer, just replaced the Xbox!usb male with a regular usb male, and would love to be able to use it on my Cappy. I know it works perfectly on the mainline Linux kernel, but I'm having no luck finding how the drivers were implemented in ICS. I can't test myself just yet, still waiting for the otg cable and download mode jig to come in.
29th January 2012, 10:06 PM |#11  
OP Senior Member
Thanks Meter: 34
 
More
Quote:
Originally Posted by neoman4426

nice. any idea if this works with the controllers for the original Xbox? I have a modded Duke I use on the computer, just replaced the Xbox!usb male with a regular usb male, and would love to be able to use it on my Cappy. I know it works perfectly on the mainline Linux kernel, but I'm having no luck finding how the drivers were implemented in ICS. I can't test myself just yet, still waiting for the otg cable and download mode jig to come in.

I can't say for certain, but I think it should work. I found another thread here: http://www.acertabletforum.com/forum...lers-work.html for the Acer Iconia tablet, and one user claims their original xbox controller works.

I suppose the only way to know for sure is to try it out yourself. Once you get your OTG set up and running, let us know how that works out for you.
Post Reply Subscribe to Thread

Tags
controller, games, otg, usb

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes