2 player joysticks
-
@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.
-
@lurker said in 2 player joysticks:
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.
How exactly would you do that?
-
Starts flipping through rolladex
Hey kids, you remember what a rolladex Is don't-cha?
Lets see here...
Queens,
Quilting,
Rampage,
Ah... Resetting.
...Resetting clocks
...Resetting the matrix? ...ummmm...you didn't see that
AH, here we go resetting the controller configurationYou can ssh OR just plug a keyboard in a navigate that way.
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.