From 1c611d6efbfeb151a79049ca203effa81914cf98 Mon Sep 17 00:00:00 2001 From: AngeloScipione <56416215+AngeloScipione@users.noreply.github.com> Date: Sun, 8 Sep 2024 19:38:17 +0200 Subject: [PATCH 1/3] Create Retro-Bit Legacy16 - USB Retro-Bit Gamepad --- dinput/Retro-Bit Legacy16 - USB | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 dinput/Retro-Bit Legacy16 - USB diff --git a/dinput/Retro-Bit Legacy16 - USB b/dinput/Retro-Bit Legacy16 - USB new file mode 100644 index 000000000..e5386adef --- /dev/null +++ b/dinput/Retro-Bit Legacy16 - USB @@ -0,0 +1,53 @@ +# retro-bit.com - Legacy16, wired controller with usb port +# SNES Controller Clone +# Notes: By default, ABXY buttons are equivalent to XBOX buttons but in different places (A is A, etc). This gamepad use internal macros to replace posittions. + +input_driver = "dinput" +input_device = "USB Gamepad " +input_device_display_name = "Retro-bit Legacy16 - USB" +input_vendor_id = "121" +input_product_id = "17" + +# == + +input_b_btn = "1" +input_a_btn = "2" +input_y_btn = "0" +input_x_btn = "3" + +input_select_btn = "8" +input_start_btn = "9" + +input_l_btn = "7" +input_r_btn = "6" +input_l2_btn = "5" +input_r2_btn = "4" + +input_menu_toggle_btn = "11" + +input_up_axis = "-1" +input_down_axis = "+1" +input_left_axis = "-0" +input_right_axis = "+0" + +# == + +input_b_btn_label = "A" +input_a_btn_label = "B" +input_y_btn_label = "X" +input_x_btn_label = "Y" + +input_select_btn_label = "Select" +input_start_btn_label = "Sart" + +input_l_btn_label = "L" +input_r_btn_label = "R" +input_l2_btn_label = "ZL" +input_r2_btn_label = "ZR" + +input_menu_toggle_btn_label = "Home" + +input_up_axis_label = "D-Pad Up" +input_down_axis_label = "D-Pad Down" +input_left_axis_label = "D-Pad Left" +input_right_axis_label = "D-Pad Right" From c5e3c32773593a79d777ed7dcddcede605c45aaa Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 28 Sep 2024 14:06:16 -0400 Subject: [PATCH 2/3] Update dinput/Retro-Bit Legacy16 - USB --- dinput/Retro-Bit Legacy16 - USB | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dinput/Retro-Bit Legacy16 - USB b/dinput/Retro-Bit Legacy16 - USB index e5386adef..e7c083f54 100644 --- a/dinput/Retro-Bit Legacy16 - USB +++ b/dinput/Retro-Bit Legacy16 - USB @@ -38,7 +38,7 @@ input_y_btn_label = "X" input_x_btn_label = "Y" input_select_btn_label = "Select" -input_start_btn_label = "Sart" +input_start_btn_label = "Start" input_l_btn_label = "L" input_r_btn_label = "R" From 0cfa757e084f0ab87c48344ada235fcf75964510 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 28 Sep 2024 14:07:13 -0400 Subject: [PATCH 3/3] Rename Retro-Bit Legacy16 - USB to Retro-Bit Legacy16 - USB.cfg --- dinput/{Retro-Bit Legacy16 - USB => Retro-Bit Legacy16 - USB.cfg} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename dinput/{Retro-Bit Legacy16 - USB => Retro-Bit Legacy16 - USB.cfg} (100%) diff --git a/dinput/Retro-Bit Legacy16 - USB b/dinput/Retro-Bit Legacy16 - USB.cfg similarity index 100% rename from dinput/Retro-Bit Legacy16 - USB rename to dinput/Retro-Bit Legacy16 - USB.cfg