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 Control issues

    Scheduled Pinned Locked Moved Help and Support
    pifbaneo geocontrols
    14 Posts 8 Posters 9.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.
    • bananapi761B
      bananapi761
      last edited by

      When I am using Neo Geo games either in the FBA folder or the Neo Geo folder (but using the same core, PiFBA), all the buttons seem to work, but the Y axis/up and down on my joystick isn't recognised. By checking the input settings in RetroPie, the Y axis is 'axis 3' and the X axis is 'axis 0'. I checked fba2x.cfg and the Y axis was set to 1, so I changed it to 3, but it still doesn't work.

      Pi Model: 1 B
      RetroPie Version Used: 3.8.1
      Built From: SD Image
      USB Devices connected: Kingston USB Flash Drive, generic joystick
      Controller used: generic joystick
      Error messages received: None
      Guide used: None
      File: /opt/retropie/configs/fba/fba2x.cfg
      Emulator: PiFBA
      Attachment of config files: http://pastebin.com/Ek3feKRK
      How to replicate the problem: Open a Neo Geo game in PiFBA

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        Update to RetroPie 4.0 (https://github.com/retropie/retropie-setup/wiki/updating-retropie) and configure the joystick in ES again (which should configure pifba automatically). Might help - but the config looks correct (if axis 3 is correct).

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        bananapi761B 1 Reply Last reply Reply Quote 0
        • bananapi761B
          bananapi761 @BuZz
          last edited by

          @BuZz updating doesn't seem to work well from the Pi, so I just updated PiFBA from source. It was the newest build (yesterday) but it still doesn't work. I also tried changing the axis to 2 and 4, just in case.

          1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators
            last edited by BuZz

            does the axis work using jstest /dev/input/js0 from a terminal ? and in emulationstation etc ?

            How does updating not work ? Are you not connected to the internet ?

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            bananapi761B 1 Reply Last reply Reply Quote 0
            • bananapi761B
              bananapi761 @BuZz
              last edited by bananapi761

              @BuZz Updating seems to work, but stops somewhere, I can't remember where. The joystick works in ES and all other emulators. Also, after part-updating, I re-entered all the controls in ES and the config for PiFBA changed itself, but the Y axis still doesn't work.

              1 Reply Last reply Reply Quote 0
              • W
                whemming
                last edited by

                I have the same issue as OP. up/down does not work in pifba. jstest verified up/down is axis 3.

                fba2x.cfg

                [Joystick]

                Get codes from "jstest /dev/input/js0"

                from package "joystick"

                Defaults to XBOX 360 Controller

                A_1=0
                B_1=1
                X_1=3
                Y_1=4
                L_1=4
                R_1=5
                START_1=6
                SELECT_1=7
                #Joystick axis
                JA_LR=0
                JA_UD=3

                All buttons work fine, only issue is JA_UD=3? Any ideas? I'm running latest retropie

                1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators
                  last edited by BuZz

                  Might be a limitation/bug with pifba - for now I can only recommend to use another emulator, or use another joypad.

                  @whemming please format your posts if posting config files - https://retropie.org.uk/forum/topic/3/read-this-first

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • N
                    norris_309
                    last edited by

                    Any luck sorting this? I have the exact same problem
                    It's so annoying, the only game I wanted this retropie for only works in pifba but the UP/|Down doesn't work on my joystick! (zero delay encoder with joystick & buttons connected to piZero)

                    The joystick works with all the other emulators, just not pifba

                    1 Reply Last reply Reply Quote 0
                    • J
                      josue9423
                      last edited by BuZz

                      I had the same problem, I solved it by adding the number of each player.

                      [Joystick]

                      #Get codes from "jstest /dev/input/js0"
                      #from package "joystick"
                      #Defaults to XBOX 360 Controller
                      A_1=1
                      B_1=0
                      X_1=2
                      Y_1=3
                      L_1=7
                      R_1=6
                      START_1=9
                      SELECT_1=8
                      #Joystick axis
                      JA_LR_1=0
                      JA_UD_1=3
                      #player 2 button configuration
                      A_2=1
                      B_2=0
                      X_2=2
                      Y_2=3
                      L_2=7
                      R_2=6
                      START_2=9
                      SELECT_2=8
                      #Joystick axis
                      JA_LR_2=0
                      JA_UD_2=3

                      BuZzB U 2 Replies Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators @josue9423
                        last edited by BuZz

                        @josue9423 if posting configs to the forum, please wrap them in a code block for easier reading (also stops data being lost as characters may be interpreted as markdown) see http://commonmark.org/help/

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 0
                        • A
                          AHumanWolverine
                          last edited by

                          I'm having the same problem and have added the player numbers to the axis numbers. Still nothing. I even copied what the keyboard uses (since that works)

                          LEFT_1=3
                          RIGHT_1=2
                          UP_1=1
                          DOWN_1=4

                          Still nothing!

                          1 Reply Last reply Reply Quote 0
                          • U
                            ultranano @josue9423
                            last edited by

                            @josue9423 works fine with this config on "Dragon rise USB Joystick" but i have to invert connectors up/down for the joystick

                            C 1 Reply Last reply Reply Quote 0
                            • A
                              AHumanWolverine
                              last edited by

                              Can anyone confirm that Pi FBA works with the GP-Wiz40? It works fine with MAME and console emulators but not pifba. All my Roms worked great on the NeoGeo emulator on Pi B+, now I move everything over and they don't run on the neo geo emulator, only on pifba, but the up, down, left, right controls will not work on pifba. I've tried changing the config file to everything I can think of.

                              1 Reply Last reply Reply Quote 0
                              • C
                                crumbs @ultranano
                                last edited by

                                @ultranano has this been fixed? I also have a DragonRise Joystick and up and down is inverted. I cannot switch the up down wires without desoldering the connector. It's just a hassle...

                                Is there another way to invert the axis?
                                I read somewhere changing from JA_LR_1=0 to JA_LR_1=-0 but this didn't work.

                                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.