• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Controllers with same ID

Scheduled Pinned Locked Moved Help and Support
usb controlersnessnes
11 Posts 4 Posters 2.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Sankea
    last edited by 31 Aug 2016, 13:52

    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.

    M 1 Reply Last reply 31 Aug 2016, 14:57 Reply Quote 0
    • M
      meleu @Sankea
      last edited by 31 Aug 2016, 14:57

      @Sankea
      It seems that somebody asked a similar question here:
      http://askubuntu.com/questions/722550/use-udev-to-rename-devices-with-same-properties

      And 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.
      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      1 Reply Last reply Reply Quote 1
      • X
        xadox
        last edited by 24 May 2018, 13:19

        Is there maybe now a possibility to configure two identical controllers differently?

        M 1 Reply Last reply 24 May 2018, 14:30 Reply Quote 0
        • M
          mediamogul Global Moderator @xadox
          last edited by mediamogul 24 May 2018, 14:30

          @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.

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

          1 Reply Last reply Reply Quote 0
          • X
            xadox
            last edited by xadox 24 May 2018, 15:23

            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.

            M 1 Reply Last reply 24 May 2018, 15:48 Reply Quote 0
            • M
              mediamogul Global Moderator @xadox
              last edited by 24 May 2018, 15:48

              @xadox said in Controllers with same ID:

              but afterwards its been tranformed

              After what exactly?

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              X 1 Reply Last reply 24 May 2018, 16:36 Reply Quote 0
              • X
                xadox @mediamogul
                last edited by 24 May 2018, 16:36

                @mediamogul Automaticly. After attaching the USB Adapter first it gets recognised as Nintendo Pro and directly afterwards as 8bitdo Adapter.

                M 2 Replies Last reply 24 May 2018, 17:05 Reply Quote 0
                • M
                  mediamogul Global Moderator @xadox
                  last edited by 24 May 2018, 17:05

                  @xadox

                  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.

                  RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                  X 1 Reply Last reply 24 May 2018, 18:09 Reply Quote 0
                  • X
                    xadox @mediamogul
                    last edited by xadox 24 May 2018, 18:09

                    @mediamogul Hmm... You missunderstood. I am not using a Nintendo Pro Controller.

                    I am using a 8bitdo Retro Receiver:
                    alt text

                    And a 8bitdo USB Adapter:
                    alt text

                    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.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mediamogul Global Moderator @xadox
                      last edited by 24 May 2018, 18:44

                      @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?

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      1 Reply Last reply Reply Quote 0
                      • X
                        xadox
                        last edited by 25 May 2018, 07:22

                        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.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        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.

                          [[user:consent.lead]]
                          [[user:consent.not_received]]