So i know performance Isn't the best on the PI ZERO with arcade emulation but I've found a few games that run quite good, some have stuttering sound but are playable.
If anyone is wondering this is how i got FBA working with my GBZ.
First I found out what each of the buttons where assigned to by typing this into a terminal:
This displays some columns and you can press each button on the GBZ to see what each button is assigned too.
this is how mine were mapped :
Code: Select all
GBZ INPUT
SELECT = 12
START = 4
A = 3
B = 11
X = 5
Y = 7
LS = 10
RS = 8
UP = Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7:-32767 8: 0 9:
DOWN = Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 32767 8: 0 9:
LEFT = Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9:
RIGHT = :Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 32767 7: 0 8: 0 9: 0
Once I had that I went to :
Code: Select all
sudo nano /opt/retropie/emulators/pifba/fba2x.cfg
In that file there is a section once you scroll down where it says "Defaults to XBOX 360 Controller" I edited that section to my values I had above which looks like this:
Code: Select all
# Get codes from "jstest /dev/input/js0"
# from package "joystick"
# Defaults to XBOX 360 Controller
JA_LEFT_1=7
JA_RIGHT_1=5
JA_UP_1=4
JA_DOWN_1=6
A_1=3
B_1=11
X_1=5
Y_1=7
L_1=10
R_1=8
START_1=4
SELECT_1=12
Note all I changed were the buttons, I didnt edit anything for the dpad.
but once I edited and rebooted it all worked even the dpad with no extra editing.
anyway hope this helps someone.