mirror of
https://github.com/libretro/retroarch-joypad-autoconfig.git
synced 2024-11-27 01:52:03 +00:00
8BitDo M30: Changed to match RetroArch convention for controllers with 6 face buttons
See the comment for rationale.
This commit is contained in:
parent
6c7b7d0507
commit
7d6aa755ab
@ -16,14 +16,16 @@ input_product_id = "1617"
|
||||
|
||||
# Buttons:
|
||||
|
||||
# The RetroPad layout has four face buttons, whereas the M30 has six. We map the M30's L and R buttons to the RetroPad's triggers, and map the M30's Z and C buttons to the RetroPad's left and right shoulder buttons respectively. That may seem somewhat counterintuitive but it follows the convention that is used in many cores for systems that have six face buttons in this layout. That allows the controller to be autoconfigured and work in the natural way in the Beetle Saturn core, and in 6-button fighting games in the FinalBurn Neo and MAME cores.
|
||||
|
||||
input_a_btn = "1"
|
||||
input_b_btn = "0"
|
||||
input_x_btn = "4"
|
||||
input_y_btn = "3"
|
||||
input_l_btn = "8"
|
||||
input_r_btn = "9"
|
||||
input_l2_btn = "6"
|
||||
input_r2_btn = "7"
|
||||
input_l_btn = "6"
|
||||
input_r_btn = "7"
|
||||
input_l2_btn = "8"
|
||||
input_r2_btn = "9"
|
||||
input_select_btn = "10"
|
||||
input_start_btn = "11"
|
||||
input_menu_toggle_btn = "2"
|
||||
@ -32,10 +34,10 @@ input_a_btn_label = "B"
|
||||
input_b_btn_label = "A"
|
||||
input_x_btn_label = "Y"
|
||||
input_y_btn_label = "X"
|
||||
input_l_btn_label = "L"
|
||||
input_r_btn_label = "R"
|
||||
input_l2_btn_label = "Z"
|
||||
input_r2_btn_label = "C"
|
||||
input_l_btn_label = "Z"
|
||||
input_r_btn_label = "C"
|
||||
input_l2_btn_label = "L"
|
||||
input_r2_btn_label = "R"
|
||||
input_select_btn_label = "Minus (-)"
|
||||
input_start_btn_label = "Start"
|
||||
input_menu_toggle_btn_label = "Heart"
|
||||
|
@ -16,14 +16,16 @@ input_product_id = "20486"
|
||||
|
||||
# Buttons:
|
||||
|
||||
# The RetroPad layout has four face buttons, whereas the M30 has six. We map the M30's L and R buttons to the RetroPad's triggers, and map the M30's Z and C buttons to the RetroPad's left and right shoulder buttons respectively. That may seem somewhat counterintuitive but it follows the convention that is used in many cores for systems that have six face buttons in this layout. That allows the controller to be autoconfigured and work in the natural way in the Beetle Saturn core, and in 6-button fighting games in the FinalBurn Neo and MAME cores.
|
||||
|
||||
input_a_btn = "1"
|
||||
input_b_btn = "0"
|
||||
input_x_btn = "4"
|
||||
input_y_btn = "3"
|
||||
input_l_btn = "8"
|
||||
input_r_btn = "9"
|
||||
input_l2_btn = "6"
|
||||
input_r2_btn = "7"
|
||||
input_l_btn = "6"
|
||||
input_r_btn = "7"
|
||||
input_l2_btn = "8"
|
||||
input_r2_btn = "9"
|
||||
input_select_btn = "10"
|
||||
input_start_btn = "11"
|
||||
input_menu_toggle_btn = "2"
|
||||
@ -32,10 +34,10 @@ input_a_btn_label = "B"
|
||||
input_b_btn_label = "A"
|
||||
input_x_btn_label = "Y"
|
||||
input_y_btn_label = "X"
|
||||
input_l_btn_label = "L"
|
||||
input_r_btn_label = "R"
|
||||
input_l2_btn_label = "Z"
|
||||
input_r2_btn_label = "C"
|
||||
input_l_btn_label = "Z"
|
||||
input_r_btn_label = "C"
|
||||
input_l2_btn_label = "L"
|
||||
input_r2_btn_label = "R"
|
||||
input_select_btn_label = "Minus (-)"
|
||||
input_start_btn_label = "Start"
|
||||
input_menu_toggle_btn_label = "Heart"
|
||||
|
Loading…
Reference in New Issue
Block a user