Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Can only connect 2 wireless xbox 360 controllers
- This topic has 8 replies, 2 voices, and was last updated 10 years ago by davem666.
-
AuthorPosts
-
12/08/2014 at 07:13 #83418davem666Participant
I got a (genuine) wireless receiver for xbox 360 controllers and got it set up and working with 2 controllers. But when I try and connect a third (or fourth) controller, they won’t connect. It seem to act as if all the “slots” for controllers are already filled up. I set up the receiver on my computer and all 4 controllers connected flawlessly, so I know the hardware works. I’m looking for any ideas why the pi wouldn’t let me connect 4 controllers.
12/20/2014 at 22:32 #83829thiemokParticipantDid you use any of these methods to setup your controllers?
https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controller
12/20/2014 at 22:35 #83833davem666ParticipantI used the “3 – init script” setup up from
https://github.com/retropie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controller12/20/2014 at 23:03 #83835thiemokParticipantThere is a variable in the file /etc/defaults/xboxdrv that controls how many controllers xboxdrv expects. Change that to 4 and it should be fine
12/20/2014 at 23:30 #83836davem666ParticipantIt is already listed as 4… Here is the text from /etc/defaults/xboxdrv:
# How many Controllers? (support up to 4 Controllers)
CONTROLLER_NUM=4case $CONTROLLER_NUM in
1) CONTROLLER=”-w 0 -l 2 –trigger-as-button –dpad-as-button”
;;
2) CONTROLLER=”-w 0 -l 2 –trigger-as-button –dpad-as-button –next-controller -w 1 -l 3 –trigger-as-button –dpad-as-button”
;;
3) CONTROLLER=”-w 0 -l 2 –trigger-as-button –dpad-as-button –next-controller -w 1 -l 3 –trigger-as-button –dpad-as-button –next-controller -w 2 -l 4 –trigger-as-button –dpad-as-button”
;;
4) CONTROLLER=”-w 0 -l 2 –trigger-as-button –dpad-as-button –next-controller -w 1 -l 3 –trigger-as-button –dpad-as-button –next-controller -w 2 -l 4 –trigger-as-button –dpad-as-button –next-controller -w 3 -l 5 –trigger-as-button –dpad-as-button”
;;
*) CONTROLLER=”incorrect amount of controller specified”
;;
esac12/21/2014 at 00:19 #83841thiemokParticipantDoes xboxdrv create 4 joysticks in /dev/input/js[0-3] ?
It might be because you copied it but-trigger-as-button –dpad-as-button –next-controller
should be--trigger-as-button -–dpad-as-button -–next-controller
12/21/2014 at 02:06 #83846davem666ParticipantDoes xboxdrv create 4 joysticks in /dev/input/js[0-3]
I see “js4” & “js5″ in that” directory (no js[0-3]).
It might be because you copied it but
-trigger-as-button –dpad-as-button –next-controller
should be--trigger-as-button -–dpad-as-button -–next-controller
The code is correct in xboxdrv, it just copied funny into the forum.
12/21/2014 at 10:36 #83855thiemokParticipantDid you try method 1 or 2 of the wiki page? If not try them to see if it’s a problem with xboxdrv or your startup script.
12/23/2014 at 03:39 #83933davem666ParticipantIt works!… Thank You thiemok!
I removed what I had and tried method 1. It worked, though it’s worth noting that the lights on the xbox remotes don’t show their controller positions (the 4 corner lights on the main xbox button corresponding to controllers 1-4), but they still work.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.