Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: SNES and IPAC #102574
    retrovortex
    Participant

    It sounds like you have a button set up on your IPAC which triggers some sort of emulator function.

    My suggestion would be to look in the controller configurations of the RetroArch.cfg file, (located in /opt/retropie/configs/all/ if you are using the latest RetroPie image) and to see what is already mapped to your keyboard (make sure to check any hotkeys too since they may be mapped to the keyboard). It helps a ton to initially setup your 1p keys with emulation station (remembering to hold a button to skip through stuff you can’t map), then go back and edit this config file specifically with your keyboard configuration. Saves a ton of headache. (esepcecially when most emulators run via RetroArch)

    Don’t forget, you can also reprogram your IPAC using the Windows software. (A good thing to do since the default setting misses out a ton of shift keys you could set to random keys. You could map stuff like R2 and L2 and analogue sticks via button press combos)

    Here is what I set my main IPAC keys to:

    P1:
    Up: UP ARROW
    DOWN: DOWN ARROW
    LEFT: LEFT ARROW
    RIGHT: RIGHT ARROW
    1:a
    2:s
    3:d
    4:z
    5:x
    6:c
    7:5
    8:6
    1p Start: 1

    P2:
    Up: I
    Down: K
    Left: J
    Right: L
    1: t
    2: y
    3: u
    4: f
    5: g
    6: h
    7: 5
    8: 6
    2p start:2

    Also if you are using pisnes or pifba, you will need to find a patched binary (I made a thread yesterday about it that might help), since the emulators have P2 keyboard controls disabled by default.

    I always use Street Fighter 2 to test my key setups since it uses all 6 main buttons. (Snes, MAME, and FBA versions I’d recommend)

    in reply to: Player 2 keyboard controls on pifba don't work #102494
    retrovortex
    Participant

    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:
    https://github.com/ian57/Raspicade-configuration-files/blob/master/pifba/fba2x

    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:
    http://www.libsdl.org/release/SDL-1.2.15/include/SDL_keysym.h

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

    retrovortex
    Participant

    That’s a good idea I may do that.

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