Xin-mo Dual controls on Pi2 and RetroPie 4.1
-
Hi Everyone,
I have been trying to set up my Pi2 with Xin-mo dual controls for a second player. I have added the USB.quirks to the codlin.txt file and this hasn't worked. I bought the controls from here - http://www.ultracabs.co.uk/usb-interface--standard-joystick-set-109-p.asp
The controls are all working for single player but when I use the 2nd joystick it takes control of the 1st player.
I have been reading that there are some custom Kernels for this but these relate to RetroPie 3.6.
Does anyone help me?
-
Anyone got any ideas?
-
I know you may not want to hear this. I had the same problem before with both Xin- mo and another Joystick controller I bought and could not find any solution. Xin-mo just isnt made for the Pi.
But the good news is, these are what I bought and install on all the machines I build these days and they work perfectly and are very reasonably priced. -
This is one of the reasons that i chose an IPAC over the xin-mo, anyways to start with my IPAC would only be read as 1 controller in games so what i did was boot up a game and go into the retroarch RGUI (Select+X by default) and to settings and then input for player 1 & 2 binds.
First go into player 1 and see what retro arch has listed for the P1 device index, because retroarch is expecting 2 controllers player 2 device index is usually set to port #1 (port #0 would be player 1)
As we only have one controller player 2 should also be set to port #0 (or whichever port P1 is detected as)
Currently for my IPAC both player 1 and player 2 are running via port #0 on retroarch, I have then edited the retroarch config file to bind the second lot of buttons to player 2
-
For Raspberry Pi to acknowledge 2-player of 2-player Xin Mo controllers:
Update cmdline.txt
Remote in with PuTTY.
Sudo Nano /boot/cmdline.txtXin-Mo has a new 20-pin controller out so depending on which one you have add the below quoted line without quotes then save. reboot and you're good to go. I use these all the time and they work just fine.
For 18-pin Xin Mo controller.....(add a space and then "usbhid.quirks=0x16c0:0x05e1:0x040" at the end)
For 20-pin Xin Mo controller..... (add a space and then "usbhid.quirks=0x16c0:0x75e1:0x040" at the end)
-
I use xin-mo on my setup along with quite a few of my buddies, works perfect when adding the correct line to cmdline.txt
I been using the 18-pin version. If you have the 20pin (moffett listed different code to add)
Please let us know if it works. -
Hi, Everyone!
Thanks for all of your help, I now have this working and I'm going to add a step by step so if anyone else is having any issues they can try this :)
Step 1
Reset your Memory card in your Pi and start from the beginning. Download the IMG from here - https://retropie.org.uk/download/
Step 2
Use a program to burn the IMG to the SD card then put this in your Pi
Step 3
Boot up the Pi with only the keyboard plugged in, and configure RetroPie to work with the keyboard only.
Step 4
F4 into the cmdline, then type "Sudo Nano /boot/cmdline.txt" from @moffett_s advice add the "usbhid" that is right for your controller
For 18-pin Xin Mo controller.....(add a space and then "usbhid.quirks=0x16c0:0x05e1:0x040" at the end)
For 20-pin Xin Mo controller..... (add a space and then "usbhid.quirks=0x16c0:0x75e1:0x040" at the end)
Then save over the file and reboot your Pi
Step 5
Then RetroPie boots back up, you will see that it now has 3 controllers detected. All you do now is configer your first and second player and your ready to play!!!
Thanks again everyone for there help, was banging my head on this one but after starting with a fresh install I got there in the end
-
@tmlpd Any chance you explored how to add a player 3 and 4? Thanks!
-
I didn't no, but it depends on your controller. You would have to modify the pins to pick up 4 players.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.