Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Can't Get Xbox360 Controller To Work
Tagged: RetroPie xbox 360
- This topic has 7 replies, 3 voices, and was last updated 11 years, 6 months ago by
Anonymous.
-
AuthorPosts
-
05/02/2014 at 22:16 #6555
Anonymous
InactiveHi!
I’ve been trying to get my xbox controller to work for days now and I can’t figure out what is wrong. I’m a linux noob so I might be missing something…I have got the controller to work in the menu, I can scroll through games etc. I have gone through the ES-Config.
I have followed this guide:
https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controller
And everything goes well until I come to this part:
./retroarch-joyconfig -o p1.cfg -p 1 -j 0
then I get this message: “Couldn’t open joystick 0#”I use this line in rc.local:
“boxdrv –daemon –id 0 –led 2 –deadzone 4000 –silent –trigger-as-button &
exit 0”If anybody have any idea what is wrong I would be super grateful!
05/03/2014 at 02:05 #6559metzger
ParticipantNot sure if you typed it wrong on the forum or in your rc.local. it should be xboxdrv not boxdrv. Again, not sure if you typed it wrong here or if that is what is actually in your rc.local
05/03/2014 at 05:42 #6561ex0r
ParticipantYou also may be using the wrong controller index (That was the issue with my xbox 360 controller).
Once it’s connected and the green light is on, go into terminal and navigate to /dev/input/ and find a device called js<number>. Take that number and use that in joyconfig. Mine for example, was index 1 not 0 so mine wouldn’t work until I set it up.
05/03/2014 at 10:43 #6563Anonymous
Inactive[quote=6559]Not sure if you typed it wrong on the forum or in your rc.local. it should be xboxdrv not boxdrv. Again, not sure if you typed it wrong here or if that is what is actually in your rc.local[/quote]
Yeah sorry, that was just a typo here. xboxdrv in the actual file.05/03/2014 at 11:31 #6565Anonymous
Inactive[quote=6561]You also may be using the wrong controller index (That was the issue with my xbox 360 controller).
Once it’s connected and the green light is on, go into terminal and navigate to /dev/input/ and find a device called js<number>. Take that number and use that in joyconfig. Mine for example, was index 1 not 0 so mine wouldn’t work until I set it up.
[/quote]
That was the problem! Apparently when I ran the esconfig the retroarch.cfg would set “input_player1_joypad_index = 0”, when it should be “input_player1_joypad_index = 1”.Awsome, thanks man!
Now its time to make two controllers work :D
05/04/2014 at 02:16 #6596ex0r
ParticipantTwo controllers seem to have a problem. I think its just the usb drivers for 360. They seem to be conflicting with one another.
05/04/2014 at 03:59 #6600metzger
ParticipantWhen you say the light is on, have you got the xbox conroller to actually stop flashing all 4 lights? mine just flashed constantly, does not show player 1 or 2 or whatever like when I use my xbox. Not sure if that is possible or not.
05/09/2014 at 00:17 #6701Anonymous
InactiveI got two controllers to work. BOth are not xbox controllers though. I have one snes usb controller.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.