Forum Replies Created
-
AuthorPosts
-
retrovortexParticipant
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: 1P2:
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:2Also 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)
retrovortexParticipantDon’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 rootThen 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/fba2xRename 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.hAnd save it, then launch pifba and voila: 2p keyboard controls work!
07/21/2015 at 21:10 in reply to: Bluetooth Dongle refuses to work on Pi 2 RetroPie 3.0 but works on Pi 1 version #102474retrovortexParticipantThat’s a good idea I may do that.
-
AuthorPosts