PS3 Controller, MAME and button mappings
-
Hi all, new user here!
I've got a pi 3b, connected with a ps3 controller through usb (I'll get to bluetooth later). I'm having some frustrating time understanding how to map the buttons correctly.
I'm starting emulationstation from the command line, the controller appears to be configured correctly in that I can scroll through and select games and systems and generally go through the interface with no problems. I quickly tried ocarina of time on the n64 emulator and the controller is functional, but I can't figure out how to map the controls for MAME.
In MAME, the left analogue stick controls movement ok, but none of the other buttons make sense, the select button seems to be the primary "fire" button, or A button I guess, pressing the left thumb seems to trigger the b button. But it doesn't seem consistent. None of the other buttons seem to do anything at all.
I look at the documentation and it seems that you can configure the buttons, but there's nothing on what each button is that I can find. for example it gives the example config:
input_driver = "udev"
input_device = "PLAYSTATION(R)3 Controller"
input_b_btn = "13"
input_y_btn = "15"
input_select_btn = "0"
input_start_btn = "3"
input_up_btn = "4"
input_down_btn = "6"
input_left_btn = "7"
input_right_btn = "5"
input_a_btn = "14"
input_x_btn = "12"
input_l_btn = "10"
input_r_btn = "11"
input_l2_btn = "8"
input_r2_btn = "9"
input_l3_btn = "1"
input_r3_btn = "2"
input_l_x_plus_axis = "-0"
input_l_x_minus_axis = "+0"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1"
input_r_x_plus_axis = "-2"
input_r_x_minus_axis = "+2"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis = "-3"
input_enable_hotkey_btn = "0"
input_exit_emulator_btn = "3"input_a_btn ="14", what does that mean? which button is 14??? I'd really like to be using the d-pad instead of the analogue stick for movement too, but they seem to do nothing, can anyone give me a little guidance?
Thanks
-
@cyrus Never mind, you have to press TAB in game and then you can configure the buttons
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.