GPIO and USB Joystick for P2
  • Scanned the forum and didn't find an answer to this specific question, so hoping that maybe someone has encountered it before.

    I've got PiPlay running great with GPIO using retrogame. Additionally, have a wireless USB keyboard dongle plugged in for additional functions. Everything behaves well.

    I'm attempting to connect a XinMo-based USB stick that I would like to use for Player 2 function. When I plug it in and reboot, the problem I am having is that it seems to kill input from retrogame/GPIO. The USB stick works great, but my retrogame stick is offline.

    I've set things up so that the USB stick is P2. I can play games in AdvMame fine as P2 with the mapping.

    If I unplug the stick and reboot, I'm back to P1 working great again with no software changes.

    Is it a bad idea to mix and match USB/GPIO, or am I missing something else?

    Thanks!
  • it's fine to mix and match, there is probably just something overriding the other. maybe try changing the retrogame udev rule:
    sudo nano /etc/udev/rules.d/10-retrogame.rules

    try changing:
    SUBSYSTEM=="input", ATTRS{name}=="retrogame", ENV{ID_INPUT_KEYBOARD}="1"
    to
    SUBSYSTEM=="input", ATTRS{name}=="retrogame", ENV{ID_INPUT_KEYBOARD}="2"

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!