RetroPie-joystick-selection icon indicating copy to clipboard operation
RetroPie-joystick-selection copied to clipboard

Two Joysticks with same name

Open lindsayfowler opened this issue 3 years ago • 2 comments

Does this script look at the MAC address of a wireless joystick?

Like many people I have two wireless PS3 controllers with the same name. I selected them using this script and I thought it was working, until I rebooted the system and found the selection had been swapped again, seemingly at random, whichever device connects first perhaps. I was hoping to use this script to avoid having to build hardware that delays the turning on of the second joystick. Is it possible to get it to identify them via Mac addresses? Thanks

lindsayfowler avatar Oct 31 '22 05:10 lindsayfowler

This limitation is described in the README, and unfortunately I'm not actively working on this software anymore. So, no plans to find a solution, sorry... 😔

meleu avatar Oct 31 '22 09:10 meleu

Is this also an example of the limitation? This is from the gamepad mode of the Mayflash Dolphin Bar (even when only one controller is connected it assumes 4 wiimotes are possible):-

pi@retropie:~ $ cat /proc/bus/input/devices I: Bus=0003 Vendor=0079 Product=1803 Version=0111 N: Name="HJZ Mayflash Wiimote PC Adapter" P: Phys=usb-0000:01:00.0-1.3/input0 S: Sysfs=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0079:1803.0001/input/input0 U: Uniq= H: Handlers=event0 js0 B: PROP=0 B: EV=1b B: KEY=fff 0 0 0 0 0 0 0 0 0 B: ABS=30027 B: MSC=10

I: Bus=0003 Vendor=0079 Product=1803 Version=0111 N: Name="HJZ Mayflash Wiimote PC Adapter" P: Phys=usb-0000:01:00.0-1.3/input0 S: Sysfs=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0079:1803.0001/input/input1 U: Uniq= H: Handlers=event1 js1 B: PROP=0 B: EV=1b B: KEY=fff 0 0 0 0 0 0 0 0 0 B: ABS=30027 B: MSC=10

I: Bus=0003 Vendor=0079 Product=1803 Version=0111 N: Name="HJZ Mayflash Wiimote PC Adapter" P: Phys=usb-0000:01:00.0-1.3/input0 S: Sysfs=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0079:1803.0001/input/input2 U: Uniq= H: Handlers=event2 js2 B: PROP=0 B: EV=1b B: KEY=fff 0 0 0 0 0 0 0 0 0 B: ABS=30027 B: MSC=10

I: Bus=0003 Vendor=0079 Product=1803 Version=0111 N: Name="HJZ Mayflash Wiimote PC Adapter" P: Phys=usb-0000:01:00.0-1.3/input0 S: Sysfs=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0079:1803.0001/input/input3 U: Uniq= H: Handlers=event3 js3 B: PROP=0 B: EV=1b B: KEY=fff 0 0 0 0 0 0 0 0 0 B: ABS=30027 B: MSC=10

I: Bus=0005 Vendor=2dc8 Product=0651 Version=0100 N: Name="8BitDo M30 gamepad" P: Phys=e4:5f:01:9e:8b:cd S: Sysfs=/devices/platform/soc/fe201000.serial/tty/ttyAMA0/hci0/hci0:11/0005:2DC8:0651.0002/input/input4 U: Uniq=e4:17:d8:78:09:7a H: Handlers=event4 js4 B: PROP=0 B: EV=1b B: KEY=ffff0000 0 0 0 0 0 0 0 0 0 B: ABS=30627 B: MSC=10

retropieuser avatar Jul 08 '23 19:07 retropieuser