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

    Retroarch Config File Editing For Ipac

    Scheduled Pinned Locked Moved Help and Support
    retroarch.cfgipac2arcadecontrols
    23 Posts 3 Posters 3.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.
    • mituM
      mitu Global Moderator @Lugzyboy82
      last edited by

      @Lugzyboy82 said in Retroarch Config File Editing For Ipac:

      Am I looking in the correct place and looking at the correct file?? Do I just add my own player 2 & hotkey section.

      You can add your own P2 section with the right mappings at the end of the file. Just use the P1 as an example and add the configuration options, replacing player1 with player2.

      L 2 Replies Last reply Reply Quote 0
      • L
        Lugzyboy82 @mitu
        last edited by

        @mitu Hey Mitu, hope you are well. So just copy and paste the section, change player 1 to player 2 and enter the relevant corresponding button.

        What about the hotkeys?

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

          you problem is likely that the ipac-2 is a keyboard encoder and not a joystick.

          you can install Xarcade2Joystick and it should work as 2 separate joysticks.

          L 1 Reply Last reply Reply Quote 0
          • L
            Lugzyboy82 @Halvhjearne
            last edited by

            @Halvhjearne that is correct. It is a keyboard encoder. Is this a file/program I just download from the internet?

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

              @Lugzyboy82

              its already in retropie, you just need to download and install it in the retropie setup

              L 1 Reply Last reply Reply Quote 0
              • L
                Lugzyboy82 @Halvhjearne
                last edited by

                @Halvhjearne I have installed Xarcade2Joystick, where do I configure the settings?

                HalvhjearneH 1 Reply Last reply Reply Quote 0
                • L
                  Lugzyboy82 @mitu
                  last edited by

                  @mitu hey. Did you come up with any ideas for creating the hotkeys?

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

                    @Lugzyboy82

                    if the ipac-2 is now recognized as 2 joysticks, then you just need to remap buttons in emulationstation, if it is not recognized, then there is a file you can edit (tbh i cant remember how in details) to make it recognize any keyboard encoder as 2 joysticks.

                    xarcade2joystick also has an options for hotkeys, but they can be a bit annoying and personally i removed them from the script and just used select+start.

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      Lugzyboy82 @Halvhjearne
                      last edited by

                      @Halvhjearne hey buddy. Its not recognizing it. I cant find any guidance on the internet either. I know what you mean about the hotkeys. I just need to set hotkeys up to exit ROMs and Systems.

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

                        @Lugzyboy82

                        sorry, but its been a while since i messed with this and i cant find it right now.
                        iirc there is 2 ways for this to work, 1 is by using a switch parameter with the program and one is to edit a file i cant remember.

                        maybe try this:

                        xarcade2joystick -?
                        
                        1 Reply Last reply Reply Quote 0
                        • HalvhjearneH
                          Halvhjearne
                          last edited by Halvhjearne

                          @Lugzyboy82

                          from what i can see in the code, it should support ultimarc out the box, but the support for any keyboard encode was never actually merged with the main branch.
                          sorry for the misunderstanding.
                          however, you can get it from the guy who made the edits to allow it to capture any keyboard encoder here:
                          https://github.com/substring/Xarcade2Jstick/tree/xarcade-with-anykbd

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            Lugzyboy82 @Halvhjearne
                            last edited by

                            @Halvhjearne

                            Thanks for getting back to me. Still cant get this to work. Im going to have to research this further as I am sure that Im not the only one to experience these issues. Im going to try what @mitu suggested but I just need to know what to do about the hotkeys.

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

                              @Lugzyboy82

                              from the github i linked:

                              - Added -e switch : start like "xarcade2jstick -e /dev/input/event4" to catch a specific event
                              

                              if this is the newer version of ipac, you should also be able to configure it as 2 gamepads with the software in windows, that should solve you problem aswell.

                              L 3 Replies Last reply Reply Quote 0
                              • L
                                Lugzyboy82 @Halvhjearne
                                last edited by

                                @Halvhjearne

                                Just reading through all the documents in the link you supplied earlier. Its all starting to make sense now. I suppose it makes sense to access the files and folders using WinSCP on my laptop?

                                1 Reply Last reply Reply Quote 0
                                • L
                                  Lugzyboy82 @Halvhjearne
                                  last edited by

                                  @Halvhjearne

                                  From your experience, is it better to copy and paste the code from the link????

                                  HalvhjearneH 1 Reply Last reply Reply Quote 0
                                  • L
                                    Lugzyboy82 @Halvhjearne
                                    last edited by

                                    @Halvhjearne

                                    Think I have answered my own question. Is it just a case of deleting the red lines and replacing these with the green?

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

                                      @Lugzyboy82

                                      you are supposed to use the git commands or download it from the github page, but have you actually tried to use the windows software from ultimarc to upgrade firware and/or configure the controller?

                                      http://www.ultimarc.com/winipacv2.html

                                      you should be able to configure it as 2 gamepads and then you wont need to use xarcade2joystick.

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        Lugzyboy82 @Halvhjearne
                                        last edited by

                                        @Halvhjearne

                                        I think we are getting our wires crossed buddy. Let me try and explain, I have configured my ipac2 using the winipac software successfully. This works fine. What I am trying to do now is get rotroarch to recognise my controls. I understand that I have to update the retroarch config file. I have located the file and found the section where I need to enter the corresponding buttons to get my controls to work. Only thing is there is now player 2 section which @mitu said just copy and paste the player 1 section an update accordingly. 2nd thing is its not giving me an option for hotkeys. Im not to bothered about these but will require a hotkey to exit games and systems.

                                        Does this make sense?

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

                                          @Lugzyboy82

                                          from the config file, it looks like it is still configured as a keyboard encoder and not a joystick, considdering it has ctrl, alt and shift configured as buttons or is this leftovers from before you used the windows software to configure the ipac?

                                          have you tested the joysticks using jstest and have you configured the controllers in emulationstation?

                                          L 2 Replies Last reply Reply Quote 0
                                          • L
                                            Lugzyboy82 @Halvhjearne
                                            last edited by

                                            @Halvhjearne

                                            I have done none of these. The only thing I have done is when emulationstation first boots up, I have configured the detected game pad.

                                            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.