Created
October 13, 2013 04:41
-
-
Save pyro2927/6958269 to your computer and use it in GitHub Desktop.
Config file used for X-Arcade 2player joystick as well as external USB SNES controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 | |
ACCEL=8 | |
[Joystick] | |
# Get codes from "jstest /dev/input/js0" | |
# from package "joystick" | |
A_1=1 | |
B_1=2 | |
X_1=0 | |
Y_1=3 | |
L_1=4 | |
R_1=5 | |
START_1=9 | |
SELECT_1=8 | |
QUIT=99 | |
ACCEL=7 | |
QLOAD=10 | |
QSAVE=11 | |
#Joystick axis | |
JA_LR=0 | |
JA_UD=1 | |
[Graphics] | |
DisplaySmoothStretch=1 | |
# Display Effect: 0 none, 1 scanlines, 2 phospher | |
# NOTE Phospher does not run at full speed | |
DisplayEffect=0 | |
MaintainAspectRatio=1 | |
DisplayBorder=0 | |
AutoFrameskip=1 | |
Frameskip=200 | |
Transparency=1 | |
CPUCycles=100 | |
[Sound] | |
APUEnabled=1 | |
# Sound rates below as index, i.e. 7=44100 (some of these produce static) | |
# 0, 8192, 11025, 16000, 22050, 29300, 32000, 44100 | |
SoundPlaybackRate=7 | |
InterpolatedSound=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment