Skip to content

Commit c9d60f9

Browse files
authored
Merge pull request #1302 from hunterk/master
add 8bitdo Pro 3 profiles for dinput, xinput, sdl2, linuxraw and udev
2 parents 0c3a5b0 + ffde9c2 commit c9d60f9

6 files changed

Lines changed: 242 additions & 18 deletions

File tree

dinput/8BitDo Pro 3.cfg

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
input_driver = "dinput"
2+
input_device = "8BitDo Pro 3"
3+
input_vendor_id = "11720"
4+
input_product_id = "24585"
5+
input_device_display_name = "8BitDo Pro 3 Wired Dinput/Android Mode"
6+
7+
input_b_btn = "1"
8+
input_y_btn = "4"
9+
input_select_btn = "10"
10+
input_start_btn = "11"
11+
input_up_btn = "h0up"
12+
input_down_btn = "h0down"
13+
input_left_btn = "h0left"
14+
input_right_btn = "h0right"
15+
input_a_btn = "0"
16+
input_x_btn = "3"
17+
input_l_btn = "6"
18+
input_r_btn = "7"
19+
input_l2_btn = "8"
20+
input_r2_btn = "9"
21+
input_l3_btn = "13"
22+
input_r3_btn = "14"
23+
input_l_x_plus_axis = "+0"
24+
input_l_x_minus_axis = "-0"
25+
input_l_y_plus_axis = "+1"
26+
input_l_y_minus_axis = "-1"
27+
input_r_x_plus_axis = "+2"
28+
input_r_x_minus_axis = "-2"
29+
input_r_y_plus_axis = "+5"
30+
input_r_y_minus_axis = "-5"
31+
32+
input_up_btn_label = "D-Pad Up"
33+
input_down_btn_label = "D-Pad Down"
34+
input_left_btn_label = "D-Pad Left"
35+
input_right_btn_label = "D-Pad Right"
36+
input_a_btn_label = "A"
37+
input_b_btn_label = "B"
38+
input_x_btn_label = "X"
39+
input_y_btn_label = "Y"
40+
input_select_btn_label = "Select"
41+
input_start_btn_label = "Start"
42+
input_l_btn_label = "L Shoulder"
43+
input_r_btn_label = "R Shoulder"
44+
input_l2_axis_label = "L Trigger"
45+
input_r2_axis_label = "R Trigger"
46+
input_l3_btn_label = "Left Stick Click"
47+
input_r3_btn_label = "Right Stick Click"
48+
input_l_x_plus_axis_label = "Left Stick Right"
49+
input_l_x_minus_axis_label = "Left Stick Left"
50+
input_l_y_plus_axis_label = "Left Stick Down"
51+
input_l_y_minus_axis_label = "Left Stick Up"
52+
input_r_x_plus_axis_label = "Right Stick Right"
53+
input_r_x_minus_axis_label = "Right Stick Left"
54+
input_r_y_plus_axis_label = "Right Stick Down"
55+
input_r_y_minus_axis_label = "Right Stick Up"
56+
input_menu_toggle_btn_label = "Home"

linuxraw/8BitDo 8BitDo Pro 3.cfg

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
input_driver = "linuxraw"
2+
input_device = "8BitDo 8BitDo Pro 3"
3+
input_device_display_name = "8BitDo Pro 3 Wired Dinput/Android Mode"
4+
5+
input_b_btn = "1"
6+
input_y_btn = "4"
7+
input_select_btn = "10"
8+
input_start_btn = "11"
9+
input_up_axis = "-7"
10+
input_down_axis = "+7"
11+
input_left_axis = "-6"
12+
input_right_axis = "+6"
13+
input_a_btn = "0"
14+
input_x_btn = "3"
15+
input_l_btn = "6"
16+
input_r_btn = "7"
17+
input_l2_btn = "8"
18+
input_r2_btn = "9"
19+
input_l3_btn = "13"
20+
input_r3_btn = "14"
21+
input_l_x_plus_axis = "+0"
22+
input_l_x_minus_axis = "-0"
23+
input_l_y_plus_axis = "+1"
24+
input_l_y_minus_axis = "-1"
25+
input_r_x_plus_axis = "+2"
26+
input_r_x_minus_axis = "-2"
27+
input_r_y_plus_axis = "+3"
28+
input_r_y_minus_axis = "-3"
29+
input_menu_toggle_btn = "12"
30+
31+
input_up_axis_label = "D-Pad Up"
32+
input_down_axis_label = "D-Pad Down"
33+
input_left_axis_label = "D-Pad Left"
34+
input_right_axis_label = "D-Pad Right"
35+
input_a_btn_label = "A"
36+
input_b_btn_label = "B"
37+
input_x_btn_label = "X"
38+
input_y_btn_label = "Y"
39+
input_select_btn_label = "Select"
40+
input_start_btn_label = "Start"
41+
input_l_btn_label = "L Shoulder"
42+
input_r_btn_label = "R Shoulder"
43+
input_l2_axis_label = "L Trigger"
44+
input_r2_axis_label = "R Trigger"
45+
input_l3_btn_label = "Left Stick Click"
46+
input_r3_btn_label = "Right Stick Click"
47+
input_l_x_plus_axis_label = "Left Stick Right"
48+
input_l_x_minus_axis_label = "Left Stick Left"
49+
input_l_y_plus_axis_label = "Left Stick Down"
50+
input_l_y_minus_axis_label = "Left Stick Up"
51+
input_r_x_plus_axis_label = "Right Stick Right"
52+
input_r_x_minus_axis_label = "Right Stick Left"
53+
input_r_y_plus_axis_label = "Right Stick Down"
54+
input_r_y_minus_axis_label = "Right Stick Up"
55+
input_menu_toggle_btn_label = "Home"

sdl2/8BitDo Pro 3.cfg

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
input_driver = "sdl2"
2+
input_device = "8BitDo Pro 3"
3+
input_vendor_id = "11720"
4+
input_product_id = "24585"
5+
input_device_display_name = "8BitDo Pro 3 Wired Dinput/Android Mode"
6+
7+
input_b_btn = "1"
8+
input_y_btn = "3"
9+
input_select_btn = "4"
10+
input_start_btn = "6"
11+
input_up_btn = "11"
12+
input_down_btn = "12"
13+
input_left_btn = "13"
14+
input_right_btn = "14"
15+
input_a_btn = "0"
16+
input_x_btn = "2"
17+
input_l_btn = "9"
18+
input_r_btn = "10"
19+
input_l2_axis = "+4"
20+
input_r2_axis = "+5"
21+
input_l3_btn = "7"
22+
input_r3_btn = "8"
23+
input_l_x_plus_axis = "+0"
24+
input_l_x_minus_axis = "-0"
25+
input_l_y_plus_axis = "+1"
26+
input_l_y_minus_axis = "-1"
27+
input_r_x_plus_axis = "+2"
28+
input_r_x_minus_axis = "-2"
29+
input_r_y_plus_axis = "+3"
30+
input_r_y_minus_axis = "-3"
31+
input_menu_toggle_btn = "5"
32+
33+
input_up_btn_label = "D-Pad Up"
34+
input_down_btn_label = "D-Pad Down"
35+
input_left_btn_label = "D-Pad Left"
36+
input_right_btn_label = "D-Pad Right"
37+
input_a_btn_label = "A"
38+
input_b_btn_label = "B"
39+
input_x_btn_label = "X"
40+
input_y_btn_label = "Y"
41+
input_select_btn_label = "Select"
42+
input_start_btn_label = "Start"
43+
input_l_btn_label = "L Shoulder"
44+
input_r_btn_label = "R Shoulder"
45+
input_l2_axis_label = "L Trigger"
46+
input_r2_axis_label = "R Trigger"
47+
input_l3_btn_label = "Left Stick Click"
48+
input_r3_btn_label = "Right Stick Click"
49+
input_l_x_plus_axis_label = "Left Stick Right"
50+
input_l_x_minus_axis_label = "Left Stick Left"
51+
input_l_y_plus_axis_label = "Left Stick Down"
52+
input_l_y_minus_axis_label = "Left Stick Up"
53+
input_r_x_plus_axis_label = "Right Stick Right"
54+
input_r_x_minus_axis_label = "Right Stick Left"
55+
input_r_y_plus_axis_label = "Right Stick Down"
56+
input_r_y_minus_axis_label = "Right Stick Up"
57+
input_menu_toggle_btn_label = "Home"

udev/8BitDo 8BitDo Pro 3.cfg

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
input_driver = "udev"
2+
input_device = "8BitDo 8BitDo Pro 3"
3+
input_device_display_name = "8BitDo Pro 3 Wired Dinput/Android Mode"
4+
input_vendor_id = "11720"
5+
input_product_id = "24585"
6+
7+
input_b_btn = "1"
8+
input_y_btn = "4"
9+
input_select_btn = "10"
10+
input_start_btn = "11"
11+
input_up_btn = "h0up"
12+
input_down_btn = "h0down"
13+
input_left_btn = "h0left"
14+
input_right_btn = "h0right"
15+
input_a_btn = "0"
16+
input_x_btn = "3"
17+
input_l_btn = "6"
18+
input_r_btn = "7"
19+
input_l2_btn = "8"
20+
input_r2_btn = "9"
21+
input_l3_btn = "13"
22+
input_r3_btn = "14"
23+
input_l_x_plus_axis = "+0"
24+
input_l_x_minus_axis = "-0"
25+
input_l_y_plus_axis = "+1"
26+
input_l_y_minus_axis = "-1"
27+
input_r_x_plus_axis = "+2"
28+
input_r_x_minus_axis = "-2"
29+
input_r_y_plus_axis = "+3"
30+
input_r_y_minus_axis = "-3"
31+
input_menu_toggle_btn = "12"
32+
33+
input_up_btn_label = "D-Pad Up"
34+
input_down_btn_label = "D-Pad Down"
35+
input_left_btn_label = "D-Pad Left"
36+
input_right_btn_label = "D-Pad Right"
37+
input_a_btn_label = "A"
38+
input_b_btn_label = "B"
39+
input_x_btn_label = "X"
40+
input_y_btn_label = "Y"
41+
input_select_btn_label = "Select"
42+
input_start_btn_label = "Start"
43+
input_l_btn_label = "L Shoulder"
44+
input_r_btn_label = "R Shoulder"
45+
input_l2_axis_label = "L Trigger"
46+
input_r2_axis_label = "R Trigger"
47+
input_l3_btn_label = "Left Stick Click"
48+
input_r3_btn_label = "Right Stick Click"
49+
input_l_x_plus_axis_label = "Left Stick Right"
50+
input_l_x_minus_axis_label = "Left Stick Left"
51+
input_l_y_plus_axis_label = "Left Stick Down"
52+
input_l_y_minus_axis_label = "Left Stick Up"
53+
input_r_x_plus_axis_label = "Right Stick Right"
54+
input_r_x_minus_axis_label = "Right Stick Left"
55+
input_r_y_plus_axis_label = "Right Stick Down"
56+
input_r_y_minus_axis_label = "Right Stick Up"
57+
input_menu_toggle_btn_label = "Home"

xinput/Bluetooth XINPUT compatible input device.cfg renamed to xinput/Controller (8BitDo Pro 3).cfg

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
input_driver = "xinput"
2-
input_device = "Bluetooth XINPUT compatible input device"
3-
input_device_display_name = "GuliKit Elves 2"
4-
5-
input_vendor_id = "1118"
6-
input_product_id = "736"
2+
input_device = "Controller (8BitDo Pro 3)"
3+
input_device_display_name = "8BitDo Pro 3 Wired Xinput Mode"
4+
input_vendor_id = "11720"
5+
# comment product ID, since it's the same as the Ultimate 2 Wireless
6+
#input_product_id = "12555"
77

88
input_b_btn = "0"
99
input_y_btn = "2"
@@ -29,24 +29,23 @@ input_r_x_plus_axis = "+2"
2929
input_r_x_minus_axis = "-2"
3030
input_r_y_plus_axis = "-3"
3131
input_r_y_minus_axis = "+3"
32-
input_menu_toggle_btn = "10"
3332

34-
input_b_btn_label = "B"
35-
input_y_btn_label = "Y"
36-
input_select_btn_label = "Minus"
37-
input_start_btn_label = "Plus"
3833
input_up_btn_label = "D-Pad Up"
3934
input_down_btn_label = "D-Pad Down"
4035
input_left_btn_label = "D-Pad Left"
4136
input_right_btn_label = "D-Pad Right"
4237
input_a_btn_label = "A"
38+
input_b_btn_label = "B"
4339
input_x_btn_label = "X"
44-
input_l_btn_label = "L1"
45-
input_r_btn_label = "R1"
46-
input_l2_axis_label = "ZL"
47-
input_r2_axis_label = "ZR"
48-
input_l3_btn_label = "L3"
49-
input_r3_btn_label = "R3"
40+
input_y_btn_label = "Y"
41+
input_select_btn_label = "Select"
42+
input_start_btn_label = "Start"
43+
input_l_btn_label = "L Shoulder"
44+
input_r_btn_label = "R Shoulder"
45+
input_l2_axis_label = "L Trigger"
46+
input_r2_axis_label = "R Trigger"
47+
input_l3_btn_label = "Left Stick Click"
48+
input_r3_btn_label = "Right Stick Click"
5049
input_l_x_plus_axis_label = "Left Stick Right"
5150
input_l_x_minus_axis_label = "Left Stick Left"
5251
input_l_y_plus_axis_label = "Left Stick Down"
@@ -55,4 +54,4 @@ input_r_x_plus_axis_label = "Right Stick Right"
5554
input_r_x_minus_axis_label = "Right Stick Left"
5655
input_r_y_plus_axis_label = "Right Stick Down"
5756
input_r_y_minus_axis_label = "Right Stick Up"
58-
input_menu_toggle_btn_label = "Home"
57+
input_menu_toggle_btn_label = "Home"

xinput/Retro Fighters Brawler64 (USB).cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ input_driver = "xinput"
22
#input_device = "Controller (XBOX 360 For Windows)"
33
input_device_display_name = "Retro Fighters Brawler64 (USB)"
44
input_vendor_id = "1118"
5-
input_product_id = "654"
5+
#input_product_id = "654"
66

77
# D-Pad Left HAT 0 Left
88
# D-Pad Right HAT 0 Right

0 commit comments

Comments
 (0)