Skip to content

Instantly share code, notes, and snippets.

@pyro2927
Last active December 25, 2015 09:59
Show Gist options
  • Save pyro2927/6957760 to your computer and use it in GitHub Desktop.
Save pyro2927/6957760 to your computer and use it in GitHub Desktop.
Final Burn Alpha (pifba) config to use with the X-Arcade 2player joystick Config follows this layout: https://dl.dropboxusercontent.com/s/1gh4g98j5zyi6t9/2013-10-12%20at%2010.22%20PM%202x.png
[Keyboard]
# Get codes from /usr/include/SDL/SDL_keysym.h
A_1=99
B_1=53
X_1=304
Y_1=122
L_1=306
R_1=308
START_1=49
SELECT_1=51
LEFT_1=260
RIGHT_1=262
UP_1=264
DOWN_1=258
QUIT=27
#player 2 keyboard controls, disabled by default
A_2=93
B_2=54
X_2=119
Y_2=101
L_2=97
R_2=115
START_2=50
SELECT_2=52
LEFT_2=100
RIGHT_2=103
UP_2=114
DOWN_2=102
[Joystick]
# Get codes from "jstest /dev/input/js0"
# from package "joystick"
A_1=0
B_1=1
X_1=2
Y_1=3
L_1=4
R_1=6
START_1=9
SELECT_1=8
#Joystick axis
JA_LR=0
JA_UD=1
#player 2 button configuration
A_2=0
B_2=1
X_2=2
Y_2=3
L_2=4
R_2=6
START_2=9
SELECT_2=8
#Joystick axis
JA_LR_2=0
JA_UD_2=1
[Graphics]
DisplaySmoothStretch=1
# Display Effect: 0 none, 1 scanlines
DisplayEffect=0
DisplayBorder=0
MaintainAspectRatio=1
[Sound]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment