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 players to act as dual sticks?

    Scheduled Pinned Locked Moved Help and Support
    dual stickrobotron
    6 Posts 4 Posters 793 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.
    • simonsterS
      simonster
      last edited by

      I've tried looking for this and I can't find anything.

      I'm currently using a Pi3b+ with GPIO joysticks using mk_arcade_joystick to connect 2 players with eight buttons (SNES equivalent) to it and everything works fine but I want to do something else.

      Is there anyway to make player 2's joystick (X,y) map as an additional input for player 1? I'm thinking for Robotron / Smash TV so I can use the second stick for eight way fire. I've done this with a 360 controller using the right stick mapped to the buttons but this is obviously a single controller.

      I only want it to take effect for certain games, most of the time I want two separate players, so don't want to mess with my mk_arcade_joystick input configurations.

      Any ideas?

      Si

      thestargliderT 1 Reply Last reply Reply Quote 0
      • thestargliderT
        thestarglider @simonster
        last edited by

        @simonster in theory I guess your best way to set that up would be to use lr-mame2003 (which is the one I use for Robotron 2084 as that emulator is the best for configuring the two thumbsticks for my controller), and set up the controllers using MAMEs own menu (from the TAB key with a keyboard connected). There you should be able to set up both arcade sticks to do your movement and firing.

        It should work in the same way for Smash TV too.

        Starglider!!! From Rainbird!!!

        simonsterS 1 Reply Last reply Reply Quote 0
        • simonsterS
          simonster @thestarglider
          last edited by

          @thestarglider

          Thanks for this.

          Does this work though, Configuring joy1 for P1 movement and joy2 for P1 shooting? I thought it had to be the same logical controller.

          thestargliderT 1 Reply Last reply Reply Quote 0
          • HalvhjearneH
            Halvhjearne
            last edited by

            i cant seem to find the thread right now, but someone posted a small python script recently to remap joysticks or whatever else like keyboard encoders, to a separate virtual controller, but i cant seem to find the thread now, else you could look up joy2key, i think that will do the job aswell, but the python script i saw posted recently, looked pretty simple :)

            however, you might have some trouble trying to configure it in emulationstation, unless you can somehow disable the "real" inputs from the actual controllers.

            1 Reply Last reply Reply Quote 0
            • thestargliderT
              thestarglider @simonster
              last edited by

              @simonster in theory with MAMEs own controller setup via the TAB key, there's no reason why you can't set up using both sticks. The emulator is just looking for what input you wish to assign to which function.

              Starglider!!! From Rainbird!!!

              1 Reply Last reply Reply Quote 1
              • stoney66S
                stoney66
                last edited by

                @simonster I did this with advmame 3.9 for robotron, just mapped the controls differently for that game only and I can use both sticks.

                1 Reply Last reply Reply Quote 1
                • 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.