2 player joysticks
-
The thing I have already tried is:https://retropie.org.uk/docs/Xin-Mo-Controller/
The dual arcade one
-
I use 4 sticks and 8 buttons per stick, on Raspberry Pi 3B, player 1 and 3 are on 1 Xinmotec board and players 2 and 4 are on another. Edited the boot file with the relevant text as specified in the docs and it worked perfectly.
-
@ddoherty958 Unless you start posting configs of what you have typed, its impossible to help you. Had you done this, you would probably be running by now.
-
@ddoherty958 Are you confident that it is even wired correctly and gives out the correct responses?
-
Player 2 works fine controlling the menu.
I did this:
Add the following to /boot/cmdline.txt -- just add a space to the end of the existing entry, so it is all on one line):
If you have a "Juyao Dual Arcade", it is the same device, but the vendor ID is 0314 and the product ID is 0328:
usbhid.quirks=0x0314:0x0328:0x040
-
@ddoherty958 So post the file from your pi so the community can check that you have typed correctly etc.etc. i.e correct vendor and product id etc. etc. How did you edit the file? Did you save on exit? etc..
-
@ddoherty958 Can you post the output of
sudo lsusb
(while the controller is plugged in) and the content of the/boot/cmdline.txt
? -
Thgis is the CDM.txt file:
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=14a75fe9-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0 usbhid.quirks=0x0314:0x0328:0x040
I can't upload files yet
-
@ddoherty958 The name of the file is
cmdline.txt
, notcmd.txt
. -
@mitu said in 2 player joysticks:
@ddoherty958 The name of the file is
cmdline.txt
, notcmd.txt
.sorry. I just typed too fast. It is that one, cmdline
-
after that command it says:
-
@ddoherty958 Unfortunately the image is too small to see anything. Can you upload a better image ?
-
here:
-
Looks like you have copied the wrong IDs from the docs - your cmdline should look like
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=14a75fe9-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0 sbhid.quirks=0x16c0:0x05e1:0x040
Notice the Vendir and Device ID are different - you copied the ones for the Juyao Dual Arcade, not the Xin Mo that are referenced first.
-
Thanks! I'll try that and get back to you
-
so when it came on the joysticks work but the buttons don't. I cam't configure them again because A doesn't work. The USB keyboard doesn't work either.
-
right I removed the extra code and VOILA! Buttons are working again. Weird!
-
However if I add it in again they stop. Annoying!
-
Doctor doctor, It hurts when I do this.
Doctor: Well don't do that.
I had something similar happen once. Not saying it will work for you, but in my case I just deleted the controller config files (following one of the documents around here somewhere) and let the system start over asking to configure the controllers as if it was the first time.
A very "did you try turning it off and then on again" solution but it worked for me.
-
Thanks, I'll try that too.
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.