[Q] Xbox 360 controller android spinning camera

wardy277

Senior Member
Feb 1, 2009
138
8
18
I have been trying to use my wireless xbox controller with my xoom, mainly for gta3. I have bought a usb wireless xbox adapter and can connect the controller to the xoom easily. The controls work as tested by the usb/bt joystick demo app, but ingame the camera keeps getting stuck looking down and spinning. I have tried this with 2 controllers, which both work fine with the xbox) and ics as well as honeycomb.

I can't seem to fine the cause or find anything on google about a fix. I have added a video below showing what happens as it's quite difficult to dxplain

 

wardy277

Senior Member
Feb 1, 2009
138
8
18
has anyone else had this issue or can think of a cause? Could the usb adapter be buggy? Could an app correctly calibrate the camera axis?
 

jediman

Senior Member
Oct 28, 2010
290
17
0
I'm no expert nor do I have a controller but is there some sort of calibration so you can center the controller?
Used to have this problem back in the days of midi connectors as game ports.

Sent from my DROID3 using xda premium
 

wardy277

Senior Member
Feb 1, 2009
138
8
18
I'm no expert nor do I have a controller but is there some sort of calibration so you can center the controller?
Used to have this problem back in the days of midi connectors as game ports.

Sent from my DROID3 using xda premium
Glad it's not just me, u using the same setup as me? I am not 100% sure my usb xbox adapter is genuine Microsoft but that shouldn't effect it?
 

jediman

Senior Member
Oct 28, 2010
290
17
0
Sorry was saying I don't have a controller setup. Just trying to give some friendly advice.

Sent from my DROID3 using xda premium
 

wardy277

Senior Member
Feb 1, 2009
138
8
18
Sorry was saying I don't have a controller setup. Just trying to give some friendly advice.

Sent from my DROID3 using xda premium
Sorry,quoted wrong post.thanks for your help but there is no configuration for the controllers. There is an app called usb/bt joystick center but am not sure if it will help,as its a paid app
 

wardy277

Senior Member
Feb 1, 2009
138
8
18
OK, after some more research and trial and error I seem to have fixed the issue. The only bad news is that you need to be root. Something I found on a post talking about the onlive controller made me try their solution.

Firstly you need to run dmesg and look for the line:
<6>[ 1489.104652] usb 2-1: New USB device found, idVendor=045e, idProduct=0291

Taken from http://forum.xda-developers.com/showthread.php?t=1418263:

Open up a terminal emulator and run the following (building the new filename from the idVendor and idProduct)

su
cd /system/usr/keylayout/
mount -o remount,rw /system
cp Vendor_045e_Product_028e.kl Vendor_045e_Product_0291.kl

Reboot for the change to take into effect and both gta3 and shadowgun worked brilliantly. I had to assign some controls from within the shadowgun game to my preference and I can't be happier. I am running teamEOS ics ROM but this should work for honeycomb.
 

shmallow

Senior Member
Jan 21, 2012
80
11
0
Hmm, The XBOX Wired Controller works like a charm. Perhaps there is a driver issue. I know that using a wireless controller with Windows causes problems sometimes
Well I dont think microsoft made black wireless adapters for PC. And on the tegra site it says wireless controllers arent supported. Though wired is.
I can confirm that this is happening on my wired controller. The wireless/wired is not the problem. For me, the problem seems to ONLY happen when I press one of the trigger buttons on the 360 controller. Sounds playable, right? Well apparently some of other buttons don't work, like the drive/brake button. I have no idea what those buttons are so I don't know which ones aren't working.
 

wardy277

Senior Member
Feb 1, 2009
138
8
18
I can confirm that this is happening on my wired controller. The wireless/wired is not the problem. For me, the problem seems to ONLY happen when I press one of the trigger buttons on the 360 controller. Sounds playable, right? Well apparently some of other buttons don't work, like the drive/brake button. I have no idea what those buttons are so I don't know which ones aren't working.
Are you root? Have you tried my solution above?
 
  • Like
Reactions: shmallow

shmallow

Senior Member
Jan 21, 2012
80
11
0
I'm not rooted so I didn't try your solution. I think my problem is that I lost the dongle USB connector on from the xbox controller. I replaced it with the dongle from a Rock Band drum set. When I connect the controller to my computer it plays fine and registers as an xbox controller, except when I connect it to the tablet it came up as a Harmonix music controller. Maybe its just the dongle. I'm going to look around to try and find my original.

EDIT: I just found my original dongle, and it still shows up as a music controller. I'm pretty sure I'm only getting this problem because I'm using a cheap gamestop controller instead of a real xbox controller.
 
Last edited:

DjDiabolik

Senior Member
Jun 25, 2014
592
137
63
OK, after some more research and trial and error I seem to have fixed the issue. The only bad news is that you need to be root. Something I found on a post talking about the onlive controller made me try their solution.

Firstly you need to run dmesg and look for the line:
<6>[ 1489.104652] usb 2-1: New USB device found, idVendor=045e, idProduct=0291

Taken from http://forum.xda-developers.com/showthread.php?t=1418263:

Open up a terminal emulator and run the following (building the new filename from the idVendor and idProduct)

su
cd /system/usr/keylayout/
mount -o remount,rw /system
cp Vendor_045e_Product_028e.kl Vendor_045e_Product_0291.kl

Reboot for the change to take into effect and both gta3 and shadowgun worked brilliantly. I had to assign some controls from within the shadowgun game to my preference and I can't be happier. I am running teamEOS ics ROM but this should work for honeycomb.
OOOOHHHH YES!! This is the solution!!! Only reading this REPLY I have found the solution for all my problems... i try to Explain:
I have a OnePlus One whit Boeflla Kernel........ this kernel have a native support for Wired Controller XBOX 360 and i have two GameStop Xbox compatible controller!

There is correctly detected and working whitout problems but during some games like driving games my car swerved a little to the left when the analog stick is still on center!

I have tryed to found a solution over google and i found this thread... and now i have found a solution:
- I have installed "Android Terminal Emulator"
- I have connect my OTG cable and my Xbox 360 GameStop GamePad
- Immediately i have open the terminal... run su to get the root previleges and execute dmesg for found the correct idproduct and idvendor of my Gamepad!

At this point i have used ES File Manager... and whit that i have make a copy of stock file "cp Vendor_045e_Product_028e.kl" and after i have renamed to my needs (Vendor_0e6f_Product_0301.kl in my case) !

I have restart my device......... and rerun the same driving games and not YEAH!!! When Analog stick its still on center the car continue to runs perfectly well to forward whitout any problems!!

Very great solution!!!

At this point my question it's:
If i change my OTG Cable... the IdVendor and ProductID it's been changed or not ?
I have two different GamePad (two identical gamestop because it's perfect to play on PC )... and if i want to connect my second gamepad i need again to found the idvendor/product or not ??
 

GodOfPsychos

Senior Member
Mar 15, 2014
497
614
0
26
Solingen
OK, after some more research and trial and error I seem to have fixed the issue. The only bad news is that you need to be root. Something I found on a post talking about the onlive controller made me try their solution.

Firstly you need to run dmesg and look for the line:
<6>[ 1489.104652] usb 2-1: New USB device found, idVendor=045e, idProduct=0291

Taken from http://forum.xda-developers.com/showthread.php?t=1418263:

Open up a terminal emulator and run the following (building the new filename from the idVendor and idProduct)

su
cd /system/usr/keylayout/
mount -o remount,rw /system
cp Vendor_045e_Product_028e.kl Vendor_045e_Product_0291.kl

Reboot for the change to take into effect and both gta3 and shadowgun worked brilliantly. I had to assign some controls from within the shadowgun game to my preference and I can't be happier. I am running teamEOS ics ROM but this should work for honeycomb.
oh man thanks!!! this is great! luckily i found your post thanks for this :D
btw i had the same problem with spinning camera etc on my tegra note 7. thanks to this i am able to play the games just perfectly. really big thanks dude. *pressed thanks button*
 

Morganb99

New member
Dec 21, 2017
1
0
0
I have a MYGT Bluetooth controller which works fine with the game. However I get the same thing you were describing when I try using a Razer keyboard and GE mouse with a OTG adapter and USB hub. In Google I can type and move the cursor so I know the game is what's messing up. I tried playing Minecraft with external devices and it works fine with the Bluetooth controller, however when using the keyboard only the number keys, functions buttons, and arrow keys work with the game.
 
Last edited: