Controllers with same ID
-
Have a small issue. I have an NES usb controller and a SNES usb controller. It labels them the same after the startup mapping which is "Usb gamepad". I found a run script to allow the re-mapping to restart which is annoying when wanting to switch from a NES to SNES game quickly. Is there a way to change how retropie ID's a controller.
-
@Sankea
It seems that somebody asked a similar question here:
http://askubuntu.com/questions/722550/use-udev-to-rename-devices-with-same-propertiesAnd I'm afraid the answer is "no".
I don't understand what exactly you meant with "I found a run script to allow the re-mapping to restart", but if you want different button mappings and/or use SNES gamepad for SNES games and NES gamepad for NES games I can think in some solutions:
- use always the same USB port for each gamepad.
- configure
input_player1_joypad_index
to point to your SNES controller in your/opt/retropie/configs/snes/retroarch.cfg
(you can look this thread if you have troubles with this step). - do the same as above for NES.
- use the Core Input Remapping to fit your preferences.
-
Is there maybe now a possibility to configure two identical controllers differently?
-
@xadox said in Controllers with same ID:
Is there maybe now a possibility to configure two identical controllers differently?
It's always been possible, but it's a fair amount of work using something like xboxdrv. Also, there still needs to be something to differentiate the controllers so that the configurations can be reliably applied to the same controllers each time. Myself, I do this by differentiating them by the USB port they're plugged into.
-
I am using one 8bitdo RetroReceiver and one 8bitdo USB Adapter for Switch.
The RetroReceiver gets the following:
usb 2-2: new full-speed USB device number 16 using xhci_hcd usb 2-2: New USB device found, idVendor=045e, idProduct=028e usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-2: Product: 8Bitdo Receiver usb 2-2: Manufacturer: 8Bitdo Receiver usb 2-2: SerialNumber: Receiver input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/input/input21 mtp-probe: checking bus 2, device 16: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2"
The newer USB Adapter gets the following:
usb 2-1: new full-speed USB device number 13 using xhci_hcd usb 2-1: New USB device found, idVendor=057e, idProduct=2009 usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-1: Product: Pro Controller usb 2-1: Manufacturer: Nintendo Co., Ltd. usb 2-1: SerialNumber: 000000000001 input: Nintendo Co., Ltd. Pro Controller as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/0003:057E:2009.0005/input/input18 mtp-probe: checking bus 2, device 13: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1" mtp-probe: bus: 2, device: 13 was not an MTP device hid-generic 0003:057E:2009.0005: input,hidraw0: USB HID v1.11 Joystick [Nintendo Co., Ltd. Pro Controller] on usb-0000:00:14.0-1/input0 usb 2-1: USB disconnect, device number 13 usb 2-1: new full-speed USB device number 14 using xhci_hcd usb 2-1: New USB device found, idVendor=045e, idProduct=028e usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-1: Product: 8Bitdo Receiver usb 2-1: Manufacturer: 8Bitdo Receiver usb 2-1: SerialNumber: Receiver input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/input/input19 mtp-probe: checking bus 2, device 14: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1" mtp-probe: bus: 2, device: 14 was not an MTP device
So at first it was recognised as with differend ID and Vendor, but afterwards its been tranformed into the the RetroReceiver somehow.
-
-
@mediamogul Automaticly. After attaching the USB Adapter first it gets recognised as Nintendo Pro and directly afterwards as 8bitdo Adapter.
-
Outside of using xboxdrv, you might try pairing the (I assume) Nintendo Pro controllers normally through Bluetooth. It seems to be in the realm of possibility as discussed here.
-
@mediamogul Hmm... You missunderstood. I am not using a Nintendo Pro Controller.
I am using a 8bitdo Retro Receiver:
And a 8bitdo USB Adapter:
The Retro Receiver get recognised as:
usb 2-2: Product: 8Bitdo Receiver
The USB Adapter first gets recognised as:
usb 2-1: Product: Pro Controller
But right after that it gets also recognised as:
usb 2-1: Product: 8Bitdo Receiver
Thats confusing me. No controller was paired to the USB Adapter.
Since the adapters are recognised as same device I am not able to configure them with different setting. -
@xadox said in Controllers with same ID:
Sorry, my assumption was based on.
Automaticly. After attaching the USB Adapter first it gets recognised as Nintendo Pro and directly afterwards as 8bitdo Adapter.
I don't imagine they would, but do the 8Bitdo controllers give a unique ID when paired over Bluetooth without the adapters?
-
I was able to create a Symlink with an udev rule but have no clue how to create a joystick profile for the created symlink with emulationstation.
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.