• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Pulling my hair out trying to get joystick and buttons to work on my arcade cabinet

Scheduled Pinned Locked Moved Help and Support
config fileretroarch.cfgipac 2joystickbuttons
7 Posts 4 Posters 639 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.
  • L
    Lugzyboy82
    last edited by 4 Aug 2019, 20:54

    Hi peeps. This is really driving me mad and I cant seem to get the help and answers I need anywhere on the internet.

    I have successfully wired my buttons and joysticks through my ipac2. I have noted down all the buttons that have been assigned to each pin using the ipac desktop software.

    The problem I have is updating the retroarch config file to show 2 joysticks and 2 sets of buttons. I have followed various tutorials on line which states that I can copy the player 1 section, paste under the player 1 section and then change it to player 2 and enter the corresponding buttons.

    The next issue is the hotkey section. In my config file I cannot find anywhere that states exit emulator etc. Can anybody help me as this is the final step before completion of my cabinet.

    Thanks in advance

    L 1 Reply Last reply 5 Aug 2019, 05:50 Reply Quote 0
    • L
      lostless @Lugzyboy82
      last edited by 5 Aug 2019, 05:50

      @Lugzyboy82 what is the iPac showing as? Keyboard or joystick? Second of all, if the iPac is designed to show as one keyboard or joystick, retropie is not designed to see 1 Device as 2 players. You would need a separate encoder for each joystick.

      1 Reply Last reply Reply Quote 0
      • L
        laydock
        last edited by laydock 8 May 2019, 09:12 5 Aug 2019, 08:04

        the ipac should be detected as keyboard, and its buttons are (by default) matched to MAME style keys on your keyboard.

        So if you press your "insert coin" button it should register as the number 5 on your keyboard (retroarch will think someone pressed the number 5)

        I have only tried retropie and not tried to manually config retroarch so i cant help you there. Cant you leave the ipac to its default settings (because it is like a simple keyboard) and remap retroarch to the basic keyboard codes?
        Here's how they are mapped:

        https://www.arcadeworlduk.com/pages/IPAC-2-Code-Table.html

        Good luck

        L 1 Reply Last reply 5 Aug 2019, 19:15 Reply Quote 0
        • L
          Lugzyboy82 @laydock
          last edited by 5 Aug 2019, 19:15

          @laydock

          Thanks for getting back to me. I bought it because I thought it was just plug and play but its far more in depth than that. I don't mind doing the work its when I keep hitting dead ends that infuriates me. The ipac has been configured as a keyboard, so when I press certain buttons on the arcade machine it shows the corresponding keyboard letter.

          I have done this with and it is all mapped perfectly. The only issue I have now is amending the config file to show to joysticks, 2 sets of buttons and setting up my hotkeys.

          C 1 Reply Last reply 5 Aug 2019, 23:46 Reply Quote 0
          • C
            Capeman @Lugzyboy82
            last edited by 5 Aug 2019, 23:46

            @Lugzyboy82
            Opt/retropie/configs/all/retroarch.cfg

            Scroll down to the input section and set the player 2 controls manually in the keyboard controls section.

            Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

            L 1 Reply Last reply 6 Aug 2019, 10:17 Reply Quote 0
            • L
              Lugzyboy82 @Capeman
              last edited by 6 Aug 2019, 10:17

              @Capeman

              Hey buddy. Thanks for your reply. This is my issue. I have gone to the config file and there are no player 2 controls there. I also cant see any hotkey to "exit emulator".

              1 Reply Last reply Reply Quote 0
              • L
                laydock
                last edited by 6 Aug 2019, 10:36

                This guy here had the same problem and he found a way of making it work.
                Apparently the way to go is to configure retroarch to use a standard keyboard then swapping the real keyboard to the ipac.

                Over here https://retropie.org.uk/forum/topic/1722/if-you-have-purchased-an-ipac2-and-want-to-save-time

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  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.

                  This community forum collects and processes your personal information.
                  consent.not_received