Windows [SOLVED] Help with xbox controller. Please!

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bogus69 Offline
Junior Member
Posts: 40
Joined: Jan 2006
Reputation: 0
Post: #1
Hello,

I've been tearing my hair out over this for ages now and finally giving up trying to work it out on my own.
I know this should be simple but for the life of me I can't get it working....


I'm running XBMC 11.0 on a Win7 box.
I had tried to get PS3 controller working and was mostly successful using MotionJoy and event-ghost, but have abandoned that because I don't want to have to "enable" the controller every time windows starts.

Now I am trying to get my xbox360 for windows controller (wired) to control XBMC.
I've copied someone's keymap (from here) and updated the controller name in there then placed it in my userdata folder, and also tried it in the keymaps folder.
I've confirmed that windows can use the controller, I've stopped Motion Joy and Event Ghost from running,

What am I doing wrong!?!


any help appreciated.

Thanks.
(This post was last modified: 2012-05-10 02:51 by kricker.)
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #2
Wouldn't the 360 controller use the "joystick.Microsoft.Xbox.360.Controller.xml" file? So use that but change the name of the controller in the file if needed.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
(This post was last modified: 2012-05-09 21:26 by kricker.)
find quote
bogus69 Offline
Junior Member
Posts: 40
Joined: Jan 2006
Reputation: 0
Post: #3
Thanks for your suggestion.
It was kind of helpful... Smile

It's not the content of the xml file which is a problem. button maps to action. etc.
But searching on the xml you suggested pointed me to the answer! I had the controller name wrong. Confused


Solution:
======
I was looking at the windows controller name (in control panel)
What I should have been doing is looking at the controller name logged in the XBMC log file..

Thanks!
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #4
Glad you got it sorted.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
tsandrews85 Offline
Junior Member
Posts: 2
Joined: May 2012
Reputation: 0
Post: #5
Another new guy here, I can't seem to get my wireless xbox controller to work for the life of me.

I tried to copy the joystick.Microsoft.Xbox.360.Controller.xml from C:\Program Files (x86) >XBMC> system> keymaps and pasted the file to C:\>Users>Owner>AppData>Roaming>XBMC>userdata>keymaps

And a big nothing??

I also tried editing the joystick.Microsoft.Xbox.360.Controller.xml file to rename the <joystick name=xbox 360 wireless Receiver"> which is defualt to <joystick name="joystick.Microsoft.Xbox.360.Controller">

Ughh Im frustrated any help would be appreciated.
find quote
Rostol Offline
Junior Member
Posts: 1
Joined: Apr 2012
Reputation: 0
Post: #6
You need to edit this line in the xml file:

Code:
<joystick name="Controller (Xbox 360 Wireless Receiver for Windows)">

to read extactly what the xbmc log is detecting as a controller.
find quote
tsandrews85 Offline
Junior Member
Posts: 2
Joined: May 2012
Reputation: 0
Post: #7
Perfect running great now. I knew I needed to replace the joystick name I just didn't know where to find it.
you have to search inside the XBMC log file pretty deep 13:14:30 T:1688 NOTICE: Enabled Joystick: Controller (Xbox 360 Wireless Receiver for Windows)

I should have searched more thoroughly.

Thanks for the help Wink
find quote
Inverted_Youth Offline
Junior Member
Posts: 3
Joined: Nov 2012
Reputation: 0
Post: #8
Sorry to bump an older thread, but I've hit a wall on this problem.

I have attempted following all the instructions I can find, but I'm either misunderstanding something entirely or I'm doing something wrong

My specs are: Windows 7 (64-Bit). XBMC 12.0.

The steps I've taken to get my wired Xbox 360 controller to work are as follows:

1. Copied the joystick.Microsoft.Xbox.360.Controller.xml file from C:\Program Files (x86)\XBMC\system\keymaps
2. Pasted the file to \AppData\Roaming\XBMC\userdata\keymaps
3. Checked the xbmc.log file to see how the controller is being detected - NOTICE: Enabled Joystick: Controller (XBOX 360 For Windows)
4. Edited the xml file, changing all instances of "Xbox 360 Wireless Receiver" to "Controller (XBOX 360 For Windows)"
5. Started XBMC

What's strange is that XBMC is definitely communicating with the controller, though not properly. Prior to following the steps above, XBMC did not react at all to any actions on the controller. After doing what I just mentioned, certain buttons will have an effect. The right analog stick controls the volume (unintuitively...pressing it to the right lowers the volume and vice versa) and the left trigger seems to scroll the menu all the way to the left. Beyond that, none of the buttons do anything at all as far as I can tell.

I did try searching for an answer to this, so my apologies if I'm covering old ground. Thanks in advance for any assistance!
(This post was last modified: 2012-11-28 23:16 by Inverted_Youth.)
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #9
First you need to make sure the name in the xml matches EXACTLY to what is shown in the log. The go thru the xml and see if the actions you do have the result you want.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
Inverted_Youth Offline
Junior Member
Posts: 3
Joined: Nov 2012
Reputation: 0
Post: #10
Thanks for the reply kricker,

I edited my post just before you posted that reply to make clear that I did copy the name of the controller directly from the xbmc.log file. I then replaced every single instance of "Xbox 360 Wireless Receiver" to "Controller (XBOX 360 For Windows)"

So the xml lists all sorts of things the controller should be doing (e.g. button 13, which is left on the d-pad, should scroll the menu to the left. It doesn't). No idea why though...
find quote
Post Reply