mapping buttons for xbox360 controller with reicast
-
I wonder if someone could help me, I'm having a bit of a battle trying to get my xbox360 controller buttons sorted for Reicast. I can't for love nor money get my trigger buttons working?
When I start up Marvel vs Capcom 2 - no response whatsoever from LB and RB buttons?
I'm using 3.8
evtest shows:
Available devices:
/dev/input/event0: USB OPTICAL MOUSE
/dev/input/event1: USB USB Keyboard
/dev/input/event2: USB USB Keyboard
/dev/input/event7: Xbox Gamepad (userspace driver)
/dev/input/event8: Xbox Gamepad (userspace driver) #2evtest /dev/input/event7
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 304 (BTN_SOUTH)
Event code 305 (BTN_EAST)
Event code 307 (BTN_NORTH)
Event code 308 (BTN_WEST)
Event code 310 (BTN_TL)
Event code 311 (BTN_TR)
Event code 312 (BTN_TL2)
Event code 313 (BTN_TR2)
Event code 314 (BTN_SELECT)
Event code 315 (BTN_START)
Event code 316 (BTN_MODE)
Event code 317 (BTN_THUMBL)
Event code 318 (BTN_THUMBR)My config file from - /opt/retropie/configs/dreamcast/mappings
"controller_XboxGamepad(userspacedriver).cfg"
looks like this:[emulator]
mapping_name = Xbox Gamepad (userspace driver)
btn_escape = 314[dreamcast]
btn_a = 304
btn_b = 305
btn_c =
btn_d =
btn_x = 307
btn_y = 308
btn_z =
btn_start = 315
btn_dpad1_left =
btn_dpad1_right =
btn_dpad1_up =
btn_dpad1_down =
btn_dpad2_left =
btn_dpad2_right =
btn_dpad2_up =
btn_dpad2_down =
axis_x = 0
axis_y = 1
axis_trigger_left = 310
axis_trigger_right = 311[compat]
btn_trigger_left = 310
btn_trigger_right = 311
axis_dpad1_x = 16
axis_dpad1_y = 17
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted =
axis_trigger_right_inverted =
axis_dpad1_y_inverted = no
axis_dpad1_x_inverted = noWhat am I doing wrong?
I also tried to create mappings file using:
/opt/retropie/emulators/reicast/bin
./reicast-joyconfigIt only outputs a small list of settings - so the one above has been added to after searching blogs etc.
Someone in this blog:
https://www.reddit.com/r/RetroPie/comments/3ye3f0/cant_manage_to_configure_dreamcast_controls/Mentioned:
"for LT and RT to work as an anolog trigger (just like it should) you must delete the xboxdrv parameter in /etc/init.d : --trigger-as-a-button and keep the other parameters"Is that part of my issue?
-
Hello,
for me (PI 3 with retropie 3.6) it's :
axis_trigger_left = 2
axis_trigger_right = 5and
[compat]
btn_trigger_left = 312
btn_trigger_right = 313
axis_dpad1_x = 16
axis_dpad1_y = 17
axis_dpad2_x =
axis_dpad2_y =
axis_x_inverted = no
axis_y_inverted = no
axis_trigger_left_inverted = no
axis_trigger_right_inverted = no
axis_dpad1_y_inverted = yes
axis_dpad1_x_inverted = noAnd you can use :
btn_escape = 316 (Xbox button) to exit game.Have fun!
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.