• 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

Retroarch Config File Editing For Ipac

Scheduled Pinned Locked Moved Help and Support
retroarch.cfgipac2arcadecontrols
23 Posts 3 Posters 2.6k 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 28 Jul 2019, 14:46

    Hi guys. I have managed to get my Ipac up and running with all buttons etc wired up correctly and the buttons mapped etc.

    I now need to update the config file. I have gone to /opt/retropie/configs/all/retroarch.config but in that file it only gives me player 1 options. Theres no sign of player 2 or any hotkeys, example code below.

    Keyboard input, Joypad and Joyaxis will all obey the "nul" bind, which disables the bind completely,

    rather than relying on a default.

    input_player1_a = "shift"
    input_player1_b = "z"
    input_player1_y = "alt"
    input_player1_x = "ctrl"
    input_player1_start = "num1"
    input_player1_select = "num2"
    input_player1_l = "x"
    input_player1_r = "space"
    input_player1_left = "left"
    input_player1_right = "right"
    input_player1_up = "up"
    input_player1_down = "down"

    input_player1_l2 =

    input_player1_r2 =

    input_player1_l3 =

    input_player1_r3 =

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

    Thanks

    M 1 Reply Last reply 28 Jul 2019, 14:50 Reply Quote 0
    • M
      mitu Global Moderator @Lugzyboy82
      last edited by 28 Jul 2019, 14:50

      @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 28 Jul 2019, 14:51 Reply Quote 0
      • L
        Lugzyboy82 @mitu
        last edited by 28 Jul 2019, 14:51

        @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
        • H
          Halvhjearne
          last edited by 28 Jul 2019, 14:54

          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 28 Jul 2019, 14:56 Reply Quote 0
          • L
            Lugzyboy82 @Halvhjearne
            last edited by 28 Jul 2019, 14:56

            @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
            • H
              Halvhjearne
              last edited by 28 Jul 2019, 14:58

              @Lugzyboy82

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

              L 1 Reply Last reply 1 Aug 2019, 20:08 Reply Quote 0
              • L
                Lugzyboy82 @Halvhjearne
                last edited by 1 Aug 2019, 20:08

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

                H 1 Reply Last reply 1 Aug 2019, 20:48 Reply Quote 0
                • L
                  Lugzyboy82 @mitu
                  last edited by 1 Aug 2019, 20:30

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

                  1 Reply Last reply Reply Quote 0
                  • H
                    Halvhjearne @Lugzyboy82
                    last edited by 1 Aug 2019, 20:48

                    @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 1 Aug 2019, 20:58 Reply Quote 0
                    • L
                      Lugzyboy82 @Halvhjearne
                      last edited by 1 Aug 2019, 20:58

                      @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.

                      H 1 Reply Last reply 1 Aug 2019, 23:39 Reply Quote 0
                      • H
                        Halvhjearne @Lugzyboy82
                        last edited by 1 Aug 2019, 23:39

                        @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
                        • H
                          Halvhjearne
                          last edited by Halvhjearne 8 Mar 2019, 16:34 3 Aug 2019, 15:27

                          @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 3 Aug 2019, 19:46 Reply Quote 0
                          • L
                            Lugzyboy82 @Halvhjearne
                            last edited by 3 Aug 2019, 19:46

                            @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.

                            H 1 Reply Last reply 3 Aug 2019, 19:53 Reply Quote 0
                            • H
                              Halvhjearne @Lugzyboy82
                              last edited by Halvhjearne 8 Mar 2019, 20:53 3 Aug 2019, 19:53

                              @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 3 Aug 2019, 20:05 Reply Quote 0
                              • L
                                Lugzyboy82 @Halvhjearne
                                last edited by 3 Aug 2019, 20:05

                                @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 3 Aug 2019, 20:15

                                  @Halvhjearne

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

                                  H 1 Reply Last reply 3 Aug 2019, 20:34 Reply Quote 0
                                  • L
                                    Lugzyboy82 @Halvhjearne
                                    last edited by 3 Aug 2019, 20:34

                                    @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
                                    • H
                                      Halvhjearne @Lugzyboy82
                                      last edited by 3 Aug 2019, 20:34

                                      @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 3 Aug 2019, 20:40 Reply Quote 0
                                      • L
                                        Lugzyboy82 @Halvhjearne
                                        last edited by 3 Aug 2019, 20:40

                                        @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?

                                        H 1 Reply Last reply 3 Aug 2019, 20:49 Reply Quote 0
                                        • H
                                          Halvhjearne @Lugzyboy82
                                          last edited by 3 Aug 2019, 20:49

                                          @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 3 Aug 2019, 20:59 Reply Quote 0
                                          20 out of 23
                                          • First post
                                            20/23
                                            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