Xbox 360 Wired Controller?
#1
Question 
Hi there, I read a lot of thread this last week trying to solve this problem.

I'm trying to control XBMC using a USB XBOX 360 Controller (NOT the wireless like a lot of people)

1st: I set loglevel to DEBUG at advancedsettings.xml
now I can see the log entries produced by the joystick:

1st:
Code:
21:17:27 T:3960 M:789417984  NOTICE: Enabled Joystick: XBOX 360 For Windows (Controller)

Ok, so I can see that Joystick name is: "XBOX 360 For Windows (Controller)"

Now I will look for buttons IDs. I'll start with only A and B buttons:
when I press those I've got this in the log:

Code:
21:17:31 T:3960 M:756625408   DEBUG: Joystick 0 button 1 Down
21:17:31 T:3960 M:756604928   DEBUG: Joystick 0 button 1 Up
21:17:31 T:3960 M:756600832   DEBUG: Joystick 0 button 2 Down
21:17:31 T:3960 M:756916224   DEBUG: Joystick 0 button 2 Up

I tried now just a simple "Keymap.xml" to test if I'm doing things right and write this:

Code:
<keymap>
    <joystick name="XBOX 360 For Windows (Controller)">
        <button id="Joystick 0 button 1">Select</button>
        <button id="Joystick 0 button 2">PreviousMenu</button>
    </joystick>
</keymap>

I tried but it didn't worked. So I thought that ids may be only numerical when I looked at ps3 sample and changed it to this:

Code:
[CODE]
<keymap>
    <joystick name="XBOX 360 For Windows (Controller)">
        <button id="1">Select</button>
        <button id="2">PreviousMenu</button>
    </joystick>
</keymap>
[/CODE]

but it also didn't worked.

Anybody knows how to got this joystick to work under windows?
Thanks in advance,
Andre
Reply
#2
Same problem, I have a xbox 360 wired controller but cannot get xbmc to recognize it.
Reply
#3
If you don't mind 3rd party, use xpadder. it will even let you use the left stick as a mouse.
You can map all buttons to any keyboard input.
That way it can be used in Windows itself too.

http://www.racketboy.com/retro/2007/05/x...board.html
Reply
#4
andredurao Wrote:Hi there, I read a lot of thread this last week trying to solve this problem.

I'm trying to control XBMC using a USB XBOX 360 Controller (NOT the wireless like a lot of people)

1st: I set loglevel to DEBUG at advancedsettings.xml
now I can see the log entries produced by the joystick:

1st:
Code:
21:17:27 T:3960 M:789417984  NOTICE: Enabled Joystick: XBOX 360 For Windows (Controller)

Ok, so I can see that Joystick name is: "XBOX 360 For Windows (Controller)"

Now I will look for buttons IDs. I'll start with only A and B buttons:
when I press those I've got this in the log:

Code:
21:17:31 T:3960 M:756625408   DEBUG: Joystick 0 button 1 Down
21:17:31 T:3960 M:756604928   DEBUG: Joystick 0 button 1 Up
21:17:31 T:3960 M:756600832   DEBUG: Joystick 0 button 2 Down
21:17:31 T:3960 M:756916224   DEBUG: Joystick 0 button 2 Up

I tried now just a simple "Keymap.xml" to test if I'm doing things right and write this:

Code:
<keymap>
    <joystick name="XBOX 360 For Windows (Controller)">
        <button id="Joystick 0 button 1">Select</button>
        <button id="Joystick 0 button 2">PreviousMenu</button>
    </joystick>
</keymap>

I tried but it didn't worked. So I thought that ids may be only numerical when I looked at ps3 sample and changed it to this:

Code:
[CODE]
<keymap>
    <joystick name="XBOX 360 For Windows (Controller)">
        <button id="1">Select</button>
        <button id="2">PreviousMenu</button>
    </joystick>
</keymap>
[/CODE]

but it also didn't worked.

Anybody knows how to got this joystick to work under windows?
Thanks in advance,
Andre
try this http://pastebin.com/YmyDquAV
of course if xbmc respond to your joystick with this you will need to remap the keys in windows for your joystick. This config use button id instead of dpad up,right,left,down
Reply
#5
Your config file is missing the <global> tag. It shoud start:
l
Code:
<keymap>
  <global>
    <joystick name="Microsoft Xbox Controller S">
etc

JR
Reply
#6
was this ever resolved? just trying to set up wired 360 controller in ubuntu 10.10 for my new htpc
Reply
#7
After trying to find a solution for myself, i finaly fixed the problem, and the wired controller is working now.

I replaced the controller name to "Controller (XBOX 360 For Windows)" in the joystick.Xbox.360.Wireless.Controller.xml file.

And it is working perfect now.
Reply

Logout Mark Read Team Forum Stats Members Help
Xbox 360 Wired Controller?0