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

    Setting up two different controllers with different button maps on one game

    Scheduled Pinned Locked Moved Help and Support
    joystickcontrollerretropad
    3 Posts 2 Posters 978 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.
    • J
      joelf
      last edited by joelf

      This is something I have been wondering about for a while. I have two different types of controllers, is there a way to set them up differently, on one game?

      JS0 and JS1 is a dragonsomething USB arcade style controller.

              L   L1    R1    R
      (js)    A   B     X     Y 
      

      their id's are

               4   5   6   7
      (js)     0   1   2   3 
      

      I also have two logitech f310s

       L1                  L2           <-- trigger
       L                   R           <-- shoulder
      
                        Y 
      (js)          X       B
                        A
      

      ids:

      5                   6           <-- trigger
      4                   7           <-- shoulder
      
                         3 
       (js)          2       1
                         0
      

      note: When I plug in the controller it becomes JS0 and the two arcade controllers become js1 and js2. If I plug in 2 controllers they become js0 and js1, etc.

      MY QUESTION

      In a game like street fighter 2 for example, is there a way to set it up, so the dragonsomething arcade style controllers are using the arcade style streetfighter layout...

      Punch:  L  M  S
      Kick:   L  M  S
      

      ...while any controllers plugged in will still keep the default key maps of

        strong kick                       strong punch
      
                                              m punch
                                    m kick                l punch
                                              l kick
      

      ?

      So far, I have to settle with having a game work on one controller intuitively, but not the other. Is there a way to define both?

      I am comfortable deleting and editing rmp files or cfgs.

      meleuM 1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @joelf
        last edited by

        @joelf It's a good question, but I'm afraid there's no way to do that with pure RetroArch configs.

        The core input remapping takes into consideration the RetroPad buttons only...

        If it's really really really important to you, maybe you can do tricks using runcommand-onstart.sh, but I think that configuring using core input remapping method on demand is much simpler.

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 0
        • J
          joelf
          last edited by

          @meleu said in Setting up two different controllers with different button maps on one game:

          @joelf It's a good question, but I'm afraid there's no way to do that with pure RetroArch configs.

          This is what I thought. I was hoping that retroarch has some way of telling what controller is what, but I wasn't expecting much. I could use the core remap to make player 1 & 2 always arcade layout, and player 3 & 4 always pad style, then hope that the individual roms don't care what position the actual player is in to start a 2 player game, but I think i'd run into issues a lot more than what I am already doing.

          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.