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

    Two controllers, same name, one config issue

    Scheduled Pinned Locked Moved Help and Support
    amiberryusb controllerxboxdrveventevtest
    1 Posts 1 Posters 599 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.
    • I
      idarek
      last edited by idarek

      Hi,
      I have two, exactly that same SNES controllers connected to USB ports. RetroPie all detect them, in config state two controllers, and SNES games working in two. However, /opt/retropie/configs/all/retroarch-joypads keep only one config file as both controllers uses same name.

      This is causing an issue with AmiBerry, that don't see correctly 2nd controller due to exactly same name. When RetroArch showing them as [#1] [#2], AmiBerry not.

      Tried to rename one controlled by reading event(3) from one and passing to other (event9) event using xboxdrv, however even despite controller is renamed and buttons correctly mapped un xboxdrv starting command, none of the buttons are reporting anything on event9 in evtest.

      Any other way how to rename controller like xboxdrv is doing? by redirecting /dev/input/event into othere event with new name?

      Update:
      found this reference here https://github.com/libretro/retroarch-joypad-autoconfig/tree/master/udev

      # Currently Retroarch can't differentiate between input devices
      # sharing the same input_vendor_id, input_product_id, and
      # input_device. We decided to disable the duplicates until 
      # Retroarch implements a feature to disambiguate between them.
      # This file was commented in favor of: 
      

      Wonder if something changed? or can we use other input_driver that will be able to see the difference?

      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.