mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-06-16 03:16:58 -04:00
GPICase: update patch for internal controls
- update patch - remove same patch for Pi02GPi, RPi4-GPICase2 and RPiZero2-GPiCASE2W - provide symlinks for Pi02GPi, RPi4-GPICase2 and RPiZero2-GPiCASE2W for easier update of the patch in the future Closes #1956
This commit is contained in:
parent
576628543d
commit
03a8749203
|
@ -1,15 +1,23 @@
|
|||
diff --git a/udev/Microsoft X-Box 360 pad.cfg b/udev/Microsoft X-Box 360 pad.cfg
|
||||
index aec5472..26eb188 100644
|
||||
index beadd39..d5dff06 100644
|
||||
--- a/udev/Microsoft X-Box 360 pad.cfg
|
||||
+++ b/udev/Microsoft X-Box 360 pad.cfg
|
||||
@@ -4,16 +4,16 @@ input_driver = "udev"
|
||||
@@ -1,57 +1,33 @@
|
||||
input_driver = "udev"
|
||||
input_device = "Microsoft X-Box 360 pad"
|
||||
-input_device_display_name = "Xbox 360 Controller"
|
||||
+input_device_display_name = "Retroflag GPiCase built-in controls"
|
||||
input_vendor_id = "1118"
|
||||
input_product_id = "654"
|
||||
|
||||
-input_b_btn = "0"
|
||||
-input_y_btn = "2"
|
||||
+input_a_btn = "0"
|
||||
+input_b_btn = "1"
|
||||
+input_x_btn = "2"
|
||||
+input_y_btn = "3"
|
||||
+input_l_btn = "4"
|
||||
+input_r_btn = "5"
|
||||
input_select_btn = "6"
|
||||
input_start_btn = "7"
|
||||
input_up_btn = "h0up"
|
||||
|
@ -18,8 +26,52 @@ index aec5472..26eb188 100644
|
|||
input_right_btn = "h0right"
|
||||
-input_a_btn = "1"
|
||||
-input_x_btn = "3"
|
||||
+input_a_btn = "0"
|
||||
+input_x_btn = "2"
|
||||
input_l_btn = "4"
|
||||
input_r_btn = "5"
|
||||
input_l2_axis = "+2"
|
||||
-input_l_btn = "4"
|
||||
-input_r_btn = "5"
|
||||
-input_l2_axis = "+2"
|
||||
-input_r2_axis = "+5"
|
||||
-input_l3_btn = "9"
|
||||
-input_r3_btn = "10"
|
||||
-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 = "+3"
|
||||
-input_r_x_minus_axis = "-3"
|
||||
-input_r_y_plus_axis = "+4"
|
||||
-input_r_y_minus_axis = "-4"
|
||||
input_menu_toggle_btn = "8"
|
||||
|
||||
-input_b_btn_label = "A"
|
||||
-input_y_btn_label = "X"
|
||||
-input_select_btn_label = "Back"
|
||||
+input_a_btn_label = "A"
|
||||
+input_b_btn_label = "B"
|
||||
+input_x_btn_label = "X"
|
||||
+input_y_btn_label = "Y"
|
||||
+input_l_btn_label = "L"
|
||||
+input_r_btn_label = "R"
|
||||
+input_select_btn_label = "Select"
|
||||
input_start_btn_label = "Start"
|
||||
input_up_btn_label = "D-Pad Up"
|
||||
input_down_btn_label = "D-Pad Down"
|
||||
input_left_btn_label = "D-Pad Left"
|
||||
input_right_btn_label = "D-Pad Right"
|
||||
-input_a_btn_label = "B"
|
||||
-input_x_btn_label = "Y"
|
||||
-input_l_btn_label = "Left Bumper"
|
||||
-input_r_btn_label = "Right Bumper"
|
||||
-input_l2_axis_label = "Left Trigger"
|
||||
-input_r2_axis_label = "Right Trigger"
|
||||
-input_l3_btn_label = "Left Thumb"
|
||||
-input_r3_btn_label = "Right Thumb"
|
||||
-input_l_x_plus_axis_label = "Left Analog Right"
|
||||
-input_l_x_minus_axis_label = "Left Analog Left"
|
||||
-input_l_y_plus_axis_label = "Left Analog Down"
|
||||
-input_l_y_minus_axis_label = "Left Analog Up"
|
||||
-input_r_x_plus_axis_label = "Right Analog Right"
|
||||
-input_r_x_minus_axis_label = "Right Analog Left"
|
||||
-input_r_y_plus_axis_label = "Right Analog Down"
|
||||
-input_r_y_minus_axis_label = "Right Analog Up"
|
||||
-input_menu_toggle_btn_label = "Guide"
|
||||
+input_menu_toggle_btn_label = "Menu"
|
||||
|
|
1
projects/RPi/devices/Pi02GPi/patches/retroarch_joypad_autoconfig
Symbolic link
1
projects/RPi/devices/Pi02GPi/patches/retroarch_joypad_autoconfig
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../GPICase/patches/retroarch_joypad_autoconfig/
|
|
@ -1,25 +0,0 @@
|
|||
diff --git a/udev/Microsoft X-Box 360 pad.cfg b/udev/Microsoft X-Box 360 pad.cfg
|
||||
index aec5472..26eb188 100644
|
||||
--- a/udev/Microsoft X-Box 360 pad.cfg
|
||||
+++ b/udev/Microsoft X-Box 360 pad.cfg
|
||||
@@ -4,16 +4,16 @@ input_driver = "udev"
|
||||
input_vendor_id = "1118"
|
||||
input_product_id = "654"
|
||||
|
||||
-input_b_btn = "0"
|
||||
-input_y_btn = "2"
|
||||
+input_b_btn = "1"
|
||||
+input_y_btn = "3"
|
||||
input_select_btn = "6"
|
||||
input_start_btn = "7"
|
||||
input_up_btn = "h0up"
|
||||
input_down_btn = "h0down"
|
||||
input_left_btn = "h0left"
|
||||
input_right_btn = "h0right"
|
||||
-input_a_btn = "1"
|
||||
-input_x_btn = "3"
|
||||
+input_a_btn = "0"
|
||||
+input_x_btn = "2"
|
||||
input_l_btn = "4"
|
||||
input_r_btn = "5"
|
||||
input_l2_axis = "+2"
|
|
@ -0,0 +1 @@
|
|||
../../GPICase/patches/retroarch_joypad_autoconfig/
|
|
@ -1,25 +0,0 @@
|
|||
diff --git a/udev/Microsoft X-Box 360 pad.cfg b/udev/Microsoft X-Box 360 pad.cfg
|
||||
index aec5472..26eb188 100644
|
||||
--- a/udev/Microsoft X-Box 360 pad.cfg
|
||||
+++ b/udev/Microsoft X-Box 360 pad.cfg
|
||||
@@ -4,16 +4,16 @@ input_driver = "udev"
|
||||
input_vendor_id = "1118"
|
||||
input_product_id = "654"
|
||||
|
||||
-input_b_btn = "0"
|
||||
-input_y_btn = "2"
|
||||
+input_b_btn = "1"
|
||||
+input_y_btn = "3"
|
||||
input_select_btn = "6"
|
||||
input_start_btn = "7"
|
||||
input_up_btn = "h0up"
|
||||
input_down_btn = "h0down"
|
||||
input_left_btn = "h0left"
|
||||
input_right_btn = "h0right"
|
||||
-input_a_btn = "1"
|
||||
-input_x_btn = "3"
|
||||
+input_a_btn = "0"
|
||||
+input_x_btn = "2"
|
||||
input_l_btn = "4"
|
||||
input_r_btn = "5"
|
||||
input_l2_axis = "+2"
|
|
@ -0,0 +1 @@
|
|||
../../GPICase/patches/retroarch_joypad_autoconfig/
|
|
@ -1,25 +0,0 @@
|
|||
diff --git a/udev/Microsoft X-Box 360 pad.cfg b/udev/Microsoft X-Box 360 pad.cfg
|
||||
index aec5472..26eb188 100644
|
||||
--- a/udev/Microsoft X-Box 360 pad.cfg
|
||||
+++ b/udev/Microsoft X-Box 360 pad.cfg
|
||||
@@ -4,16 +4,16 @@ input_driver = "udev"
|
||||
input_vendor_id = "1118"
|
||||
input_product_id = "654"
|
||||
|
||||
-input_b_btn = "0"
|
||||
-input_y_btn = "2"
|
||||
+input_b_btn = "1"
|
||||
+input_y_btn = "3"
|
||||
input_select_btn = "6"
|
||||
input_start_btn = "7"
|
||||
input_up_btn = "h0up"
|
||||
input_down_btn = "h0down"
|
||||
input_left_btn = "h0left"
|
||||
input_right_btn = "h0right"
|
||||
-input_a_btn = "1"
|
||||
-input_x_btn = "3"
|
||||
+input_a_btn = "0"
|
||||
+input_x_btn = "2"
|
||||
input_l_btn = "4"
|
||||
input_r_btn = "5"
|
||||
input_l2_axis = "+2"
|
Loading…
Reference in a new issue