Skip to content

Commit 03a8749

Browse files
committed
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
1 parent 5766285 commit 03a8749

7 files changed

Lines changed: 62 additions & 82 deletions

File tree

Lines changed: 59 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
diff --git a/udev/Microsoft X-Box 360 pad.cfg b/udev/Microsoft X-Box 360 pad.cfg
2-
index aec5472..26eb188 100644
2+
index beadd39..d5dff06 100644
33
--- a/udev/Microsoft X-Box 360 pad.cfg
44
+++ b/udev/Microsoft X-Box 360 pad.cfg
5-
@@ -4,16 +4,16 @@ input_driver = "udev"
5+
@@ -1,57 +1,33 @@
6+
input_driver = "udev"
7+
input_device = "Microsoft X-Box 360 pad"
8+
-input_device_display_name = "Xbox 360 Controller"
9+
+input_device_display_name = "Retroflag GPiCase built-in controls"
610
input_vendor_id = "1118"
711
input_product_id = "654"
812

913
-input_b_btn = "0"
1014
-input_y_btn = "2"
15+
+input_a_btn = "0"
1116
+input_b_btn = "1"
17+
+input_x_btn = "2"
1218
+input_y_btn = "3"
19+
+input_l_btn = "4"
20+
+input_r_btn = "5"
1321
input_select_btn = "6"
1422
input_start_btn = "7"
1523
input_up_btn = "h0up"
@@ -18,8 +26,52 @@ index aec5472..26eb188 100644
1826
input_right_btn = "h0right"
1927
-input_a_btn = "1"
2028
-input_x_btn = "3"
21-
+input_a_btn = "0"
22-
+input_x_btn = "2"
23-
input_l_btn = "4"
24-
input_r_btn = "5"
25-
input_l2_axis = "+2"
29+
-input_l_btn = "4"
30+
-input_r_btn = "5"
31+
-input_l2_axis = "+2"
32+
-input_r2_axis = "+5"
33+
-input_l3_btn = "9"
34+
-input_r3_btn = "10"
35+
-input_l_x_plus_axis = "+0"
36+
-input_l_x_minus_axis = "-0"
37+
-input_l_y_plus_axis = "+1"
38+
-input_l_y_minus_axis = "-1"
39+
-input_r_x_plus_axis = "+3"
40+
-input_r_x_minus_axis = "-3"
41+
-input_r_y_plus_axis = "+4"
42+
-input_r_y_minus_axis = "-4"
43+
input_menu_toggle_btn = "8"
44+
45+
-input_b_btn_label = "A"
46+
-input_y_btn_label = "X"
47+
-input_select_btn_label = "Back"
48+
+input_a_btn_label = "A"
49+
+input_b_btn_label = "B"
50+
+input_x_btn_label = "X"
51+
+input_y_btn_label = "Y"
52+
+input_l_btn_label = "L"
53+
+input_r_btn_label = "R"
54+
+input_select_btn_label = "Select"
55+
input_start_btn_label = "Start"
56+
input_up_btn_label = "D-Pad Up"
57+
input_down_btn_label = "D-Pad Down"
58+
input_left_btn_label = "D-Pad Left"
59+
input_right_btn_label = "D-Pad Right"
60+
-input_a_btn_label = "B"
61+
-input_x_btn_label = "Y"
62+
-input_l_btn_label = "Left Bumper"
63+
-input_r_btn_label = "Right Bumper"
64+
-input_l2_axis_label = "Left Trigger"
65+
-input_r2_axis_label = "Right Trigger"
66+
-input_l3_btn_label = "Left Thumb"
67+
-input_r3_btn_label = "Right Thumb"
68+
-input_l_x_plus_axis_label = "Left Analog Right"
69+
-input_l_x_minus_axis_label = "Left Analog Left"
70+
-input_l_y_plus_axis_label = "Left Analog Down"
71+
-input_l_y_minus_axis_label = "Left Analog Up"
72+
-input_r_x_plus_axis_label = "Right Analog Right"
73+
-input_r_x_minus_axis_label = "Right Analog Left"
74+
-input_r_y_plus_axis_label = "Right Analog Down"
75+
-input_r_y_minus_axis_label = "Right Analog Up"
76+
-input_menu_toggle_btn_label = "Guide"
77+
+input_menu_toggle_btn_label = "Menu"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../GPICase/patches/retroarch_joypad_autoconfig/

projects/RPi/devices/Pi02GPi/patches/retroarch_joypad_autoconfig/retroarch_joypad_autoconfig-01-fix-ABXY-buttons.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../GPICase/patches/retroarch_joypad_autoconfig/

projects/RPi/devices/RPi4-GPICase2/patches/retroarch_joypad_autoconfig/retroarch_joypad_autoconfig-01-fix-ABXY-buttons.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../GPICase/patches/retroarch_joypad_autoconfig/

projects/RPi/devices/RPiZero2-GPiCASE2W/patches/retroarch_joypad_autoconfig/retroarch_joypad_autoconfig-01-fix-ABXY-buttons.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)