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

    PiFBA buttons don't match jtest

    Scheduled Pinned Locked Moved Help and Support
    11 Posts 5 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.
    • meleuM
      meleu @camo200sx
      last edited by

      @camo200sx
      Do you have a reason to use the pifba?

      Actually I love pifba, but I think it's a good choice only for Raspberry Pi 1 and zero owners (my situation). The lr-fba[-next] is a better choice for raspi2 and 3 owners.

      Oh... Let's talk about your problem... You should tell us what controller you are using. I know that some bluetooth controllers seems to have different numbers in jstest and in retroarch/pifba...

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      1 Reply Last reply Reply Quote 0
      • C
        camo200sx
        last edited by

        Thanks for your help again Meleu. the roms I have only work with Pifba and not lr-fba-next, that is why I wanted to get it to work. My other option is try and find compatible versions to run with lr-fba-next.

        I'm using a xin-mo if that helps

        1 Reply Last reply Reply Quote 0
        • edmaul69E
          edmaul69
          last edited by

          lr-fba-next, lr-mame2003 and lr-mamlibretro's controls dont match either. its kinda annoying that i have to make a config that only works on 1 controller. but hey it is a lot better than nothing so i cant complain

          C 1 Reply Last reply Reply Quote 0
          • C
            camo200sx @edmaul69
            last edited by

            @edmaul69 said in PiFBA buttons don't match jtest:

            lr-fba-next, lr-mame2003 and lr-mamlibretro's controls dont match either. its kinda annoying that i have to make a config that only works on 1 controller. but hey it is a lot better than nothing so i cant complain

            Its really annoying for me because I have used clrmamepro to rebuild a set of roms that are for lr-fba-next so I can avoid using pifba, but I just loaded some onto the pi and they don't work with lr-fba-next but do with pifba - what the...?

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              Did you happen to come by a solution to this issue. I have the same thing going on, I have a bar top set up with an Ipac 2 for my two player cabinet. Playing Street Fighter III, 3rd Strike using lr-Fba-next it works perfect, top row punching and bottom row kicking, but then when I use the same setup for PiFBA the buttons appear to be upside down or just not in a normal config, games like Metal Slug would be better if I can just reconfigure for that game.

              edmaul69E 1 Reply Last reply Reply Quote 0
              • FlyingTomahawkF
                FlyingTomahawk
                last edited by FlyingTomahawk

                Any news on this issue here?
                I have a very hard time too to configure my arcade stick. I need to use pifba since the game runs only with that but as already mentioned the button setup makes absolutely no sense.
                I tried to figure out which button is where on my arcade stick trying to assign or change only 1 button at the time but I am getting nowhere. It's like it is randomly switching around everything, no logic behind it. The closest I got to get 3 punches top row and 3 kicks bottom row was this setup inside the fba2x.cfg file.

                A_1=0
                B_1=2
                X_1=5
                Y_1=3
                L_1=1
                R_1=7
                START_1=9
                SELECT_1=8

                This gives me the correct button layout for WP, SP and SK. (WP = weak punch, SP = strong punch, SK = strong kick) logically I would need to figure out the last 3 but changing anything from this point on messes up everything again. Very frustrating.
                I have a A4 paper filled with notes and scribbles kinda feeling like a psycho slow by slow.

                Using a Raspberry Pi 3 and a Buffalo Savior Arcade Stick (BSGPAC02BK). Retropie version is 4.1.5.

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

                  @FlyingTomahawk you'll be amazed when you discover a tool named jstest. Google about it. ;-)

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  FlyingTomahawkF 1 Reply Last reply Reply Quote 2
                  • edmaul69E
                    edmaul69 @A Former User
                    last edited by

                    @RickSanchez81 you should put all the neo geo roms in the neogeo folder. Then you configure that for all neo geo games. For me in lr-fbanext the controls are wonky and i had to set them up by hand. I seperated the six button fighting games from the rest of the roms because they have a completely different controller layout than everything else so i had to configure them different. So i have neo geo in the neo geo folder. 6 button fighting games in one fba folder and everything else in another fba folder. I have two fba configs in es_systems.cfg so that one looks for roms in fba2.

                    1 Reply Last reply Reply Quote 0
                    • FlyingTomahawkF
                      FlyingTomahawk @meleu
                      last edited by FlyingTomahawk

                      @meleu

                      Thanks a ton man! That helped a lot.
                      Once I knew what number each button had I was able to set it up correctly.
                      Not sure the following works for every arcade stick but it did for me.
                      In the fba2x.cfg I have now the following setup;

                      A_1=0
                      B_1=5
                      X_1=3
                      Y_1=1
                      L_1=2
                      R_1=7
                      START_1=9
                      SELECT_1=8
                      #Joystick axis
                      JA_LR=0
                      JA_UD=1

                      When I access the game menu in Marvel Super Heroes vs. Street Fighter by pressing select+L+R you can test the buttons by clicking on "input".
                      Again thanks a lot. You saved me from more head aches.

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

                        @FlyingTomahawk said in PiFBA buttons don't match jtest:

                        Not sure the following works for every arcade stick but it did for me.

                        Unfortunately there's no standard for these numbers. Every manufacturer set them up in different ways. The best way is to use jstest to discover the numbers.

                        BTW: in some bluetooth controllers the numbers obtained in jstest don't match those used in configs.

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