Player 2 keyboard controls on pifba don't work

Welcome Page Forums RetroPie Project Controller Configuration in RetroPie Player 2 keyboard controls on pifba don't work

This topic contains 2 replies, has 2 voices, and was last updated by  runshadowfaxrun 2 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #102470


    Hey. I’m sure this has come up before, but I need some help in enabling player 2 controls on the keyboard.
    I have set the controls in the fba2x.cfg file but I’m not sure on how one goes about enabling two players on the keyboard.
    (I have one of those IPAC 2 plugged in to my pi via an adapter. I have everything else working fine)
    I swapped the configs around and 1p worked with my 2p buttons so I know its not my setup.
    Do I have to compile a different version of the emulator somewhere? If so how do I go about that?



    Don’t worry. I figured it out:

    What you need to do is replace the pifba binary with one that has 2p keyboard enabled.

    Easiest way to do this is to gain root, then use WinSCP to copy the file over and change permissions.

    In order to do that, remotely connect to the pi via PuTTY then put in this line:
    sudo passwd root

    Then set the password to something you remember like “raspberry”

    Once you do that, fire up WinSCP and change your login to root and then the new password.

    Navigate to the /opt/retropie/emulators/pifba folder

    Now download the patched binary from a pifba fork like in this link:

    Rename the old fba2x file to something like fba2x.backup and then copy the binary you just downloaded over (which you can do now since you are in root).

    Now the final step is to right click the new fba2x binary, go to properties, and change the permissions. You want to click all the X boxes so they have a tick in them. Press OK and now change keyboard keys in the fba2x.cfg file (located at: /opt/retropie/configs/fba/) to whatever you have them programmed as on your IPAC, using this link as a guide:

    And save it, then launch pifba and voila: 2p keyboard controls work!



    Not sure what I did, but now I can’t authenticate using any known credentials.

    Set the new root pw, logged in and copied across the new file, set permissions and ran a reboot.

    Now my pi says “authentication failure” on boot, and I can’t log in with WinSCP or PuTTY – it doesn’t like my old pi, raspberry or the new root, raspberry.

    Any idea what I did, or how to fix it?

Viewing 3 posts - 1 through 3 (of 3 total)

Forums are currently read only - please visit the new RetroPie forums at

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss