Could someone please assist me in setting a button to the insert coin hotkey.
I was thinking about using the PlayStation Button in the middle of the controller. How do I know which number refers to which button on the controller.
Thanks,
CJ
-
- Posts: 22
- Joined: Thu Apr 09, 2015 6:14 pm
Re: PS3 controller config for MAME and FBA
Install the system Recalbox and be happy!
-
- Posts: 111
- Joined: Tue Mar 18, 2014 8:52 pm
- Location: UK
- Contact: Website
Re: PS3 controller config for MAME and FBA
Hi,
If you install the "jstest" utility then you can find out the button and axis IDs and values.
E.g.
Press Ctrl + C to exit the program.
If it helps, the PS button is button number 16.
Cheers,
Neil.
If you install the "jstest" utility then you can find out the button and axis IDs and values.
E.g.
Code: Select all
jstest /dev/input/js0
If it helps, the PS button is button number 16.
Cheers,
Neil.
http://pes.mundayweb.com -> The Pi Entertainment System for all your gaming needs
Re: PS3 controller config for MAME and FBA
This is my working config for FBA
Only Joysticks works for directions 
With mame use the TAB key to config, if you use imame4all for example.
Code: Select all
[Joystick]
# Get codes from "jstest /dev/input/js0"
# from package "joystick"
JA_LEFT_1=7
JA_RIGHT_1=5
JA_UP_1=4
JA_DOWN_1=6
A_1=15
B_1=12
X_1=14
Y_1=11
L_1=10
R_1=13
START_1=3
SELECT_1=0
#Joystick axis
JA_LR_1=0
JA_UD_1=1
#player 2 button configuration
JA_LEFT_2=7
JA_RIGHT_2=5
JA_UP_2=4
JA_DOWN_2=5
A_2=15
B_2=11
X_2=13
Y_2=14
L_2=10
R_2=12
START_2=3
SELECT_2=0
#Joystick axis
JA_LR_2=0
JA_UD_2=1

With mame use the TAB key to config, if you use imame4all for example.
Sorry, my english is awful, like me. XD