PDA

View Full Version : [bug] Xbox360 Wireless Controler + Grumbel's userspace driver as remote



antigenx
August 31st, 2010, 07:21 AM
Hey all,

I use a wireless xbox360 controller with grumbel's userspace driver to control xbmc and boxee. It used to work in boxee just fine, but lately it does not.

I enabled DEBUG logging in boxee, dropped the keymap for this setup in ~/.boxee/UserData/keymaps -- I know it's reading the file because without the keymap, no button presses appear in the debug log. When the file is present, the button presses appear as expected.

I've verified that the button press registered in boxee matches the appropriate command in the keymap file.

Now here's the weird part: boxee does not respond to any buttons except one. That button is 6 (B on the xbox360 controller) which corresponds with the command, ParentDir, despite the button presses being registered in boxee (according to the debug log..)

Has anyone else seen this?

Resources:
http://pingus.seul.org/~grumbel/xboxdrv/
http://pastebin.com/QnRBzY9A

Thanks,
D

Additional Information: Running Ubuntu Lucid (10.4)

antigenx
September 11th, 2010, 10:57 PM
Really? No one uses an xbox360 wireless controller?

angst
September 17th, 2010, 09:50 PM
Perhaps posting in the Linux forum would get more help. I don't know Linux enough to help but Ill give it a shot.
So your using the same program for the controller driver as well as the keyboard mapper?
Rather than troubleshoot it directly it might be easier to go circle around the problem all together.
Have you tried different mapping software that is not part of the driver? (like xPadder, or Pinnical profiler to use Windows examples)
Jojsticken and joy2key are two that should work in Ubuntu.


In Windows the Xbox 360 controller is a great Boxee remote. I use xPadder to map it. Only problem is the wife is always using my controller for the TV and I can't ever wrangle it back to use on my gaming pc.
Because of this I just the other day ordered a fairly generic HTPC remote that has a mouse and direction arrows for under $15. It's doesn't need drivers for the usb receiver so going this route might save you some effort.

antigenx
September 18th, 2010, 05:40 PM
No additional joystick --> keyboard mapping is necessary. In XBMC (and boxee) joysticks are supported directly

angst
September 20th, 2010, 02:39 PM
Again im not a Linux wiz or any kind of computer wiz really but simply a x360 controller user here.
When you said joysticks supported directly it made me think of something. Whenever Im playing a videogame that has a setting for "enable joystick" in its settings If that box is checked things just don't behave right when I am using my controller with mapping software. The symptoms will be similar to yours in that some buttons will respond and some wont.
So, you might look for anything that is creating redundancy for the joystick control and try de-selecting it.