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, One Keyboard

    Scheduled Pinned Locked Moved Help and Support
    retropiepicade issue2 playerkeyboard
    4 Posts 3 Posters 2.0k 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
      MoofViking
      last edited by

      Hey guys!

      I'm currently trying to set up an arcade system using Retropie and a pair of Picade PCB boards.
      I am having a lot of trouble getting them both to register as they come through as keyboard inputs, so every time I configure "Keyboard" to P1 or P2, it just mirrors them both.
      I have even used the Arduino IDE to map the P2 buttons to the other end of the keyboard, but I still can't manage to get two players running at the same time through any of the Emulators.

      I have tried all the approaches i can think of, even down to flashing them both to Gamepads and trying that way, but that opened up a whole other can of worms and I am far from experienced in these matters.
      Before I carry on down that tough path, is there any way of getting two simultaneous players on a single keyboard?

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

        @MoofViking My suggestion is to hardcode your player2 mappings in /opt/retropie/configs/all/retroarch.cfg.
        Here is a template with comments:

        # input_player2_a =
        # input_player2_b =
        # input_player2_y =
        # input_player2_x =
        # input_player2_start =
        # input_player2_select =
        # input_player2_l =
        # input_player2_r =
        # input_player2_left =
        # input_player2_right =
        # input_player2_up =
        # input_player2_down =
        # input_player2_l2 =
        # input_player2_r2 =
        # input_player2_l3 =
        # input_player2_r3 =
        
        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 0
        • T
          Trinity2069
          last edited by

          I had a similar question. I have a USB HAPP arcade setup. It's working off 1 board and it's doing the same thing as MoofViking's keyboard. How would I hard code that?

          Thanks

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

            @Trinity2069 said in Two Players, One Keyboard:

            How would I hard code that?

            I forgot to provide the link: https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#hardcoded-configurations

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            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.