supersirlink
Participant
Post count: 42

So I am testing the GPIO with an NES controller, but jstest on js0 is not showing the Retropie GPIO, but my USB NES controller:
pi@raspberrypi /dev/input $ jstest js0
Driver version is 2.1.0.
Joystick (InfiniteNesLives.com (S)NES_USB) has 2 axes (X, Y)
and 8 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect).
Testing … (interrupt to exit)
Axes: 0:-32767 1:-32767 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off ^Z
[3]+ Stopped jstest js0
`

Do I have to remove js0, or should it redetect the controller on the GPIO? I forced a fresh install of SNESdev via the setup script…

Tested the momentary switch function and that appears to be working via the testbutton script…

Edit: nope I forgot to unplug the usb controller… Did so and rebooted, but now I don’t even have a js0 or js1…

Service also appears to be running…

Edit2: okay, if I restart the service I get js0 and js1…

Edit2: Nevermind, :) I performed the enable on restart from the retropie setup script and now they show up on start up… Guessing when I force a new install it removed that…