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

    Error configuring joypad 2 in emulationstation

    Scheduled Pinned Locked Moved Help and Support
    emulationstatiogamepad
    3 Posts 1 Posters 839 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.
    • M
      Moiver
      last edited by

      Good night,

      Sorry in advance for my english.

      I've purchased two joypads with their respective controllers, emulationstation detects two gamepads, i configure first gamepad,so when i finish i check the gamepad ingame and works great, then i go back and try to configure the second gamepad like the first one.

      There is when the problem ocurs, the second gamepad is configured and ingame works great, but gamepad1 has been unconfigured. The problem is when i configure the second gamepad doesnt matter witch one is then the first one configurated is unconfigured and works bad.

      I tried to restart emulationstation inputs in the retropie setup core packages and configure again but is not working.

      Also i reinstalled retroarch from souce today.

      Any ideas why its happening?

      When configuring gamepads in emulationstation this is my mapping:

      gamepad1:
      up:3 down:0 left:2 right:4 B:-0 A:-1 X:1 Y:6 L:5 R:+0 Start:7 Select:+1
      gamepad2:
      up:-1 down:-0 left:+1 right:+0 B:3 A:5 X:4 Y:2 L:6 R:7 Start:0 Select:1

      Thank you :)

      1 Reply Last reply Reply Quote 0
      • M
        Moiver
        last edited by

        I've found the error.

        Its because Emulationstation only configures the last input in es_input.cfg, because the "deviceName" name and the "deviceGUID" of the two joypads are the same only the last one is configured.

        Thats because ingame only the last joypad is configured.

        I've found a workaround while in the session but when you exit ES it disappears.

        So,does someone have a solution for mapping the two same joypad in ES? They are detected as "DragonRise Inc. Generic USB Joystick" maybe change the name of one?

        Or is possible to change the Guid?

        Thanks :)

        1 Reply Last reply Reply Quote 0
        • M
          Moiver
          last edited by

          I've found a solution:

          Install attract frontend, then i can configure my two joypads manually for the frontend.

          For the backend(retroarch) i had the next line with value "linuxraw" so i changed it to udev and autoconfig worked!

          input_joypad_driver = "udev"

          The buttons were previously mapped so only configuring retroarch/all/retroarch.cfg was enough, now the two joypads work.

          Hope this post helps someone!

          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.