diff --git a/android/8Bitdo_24G_SF30_USB.cfg b/android/8Bitdo_24G_SF30_USB.cfg new file mode 100644 index 0000000..7cc901c --- /dev/null +++ b/android/8Bitdo_24G_SF30_USB.cfg @@ -0,0 +1,40 @@ +# 8Bitdo SF30 2.4G - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30-sf30-2_4g-for-snes-and-sfc-classic-edition/ +# Firmware N/A - http://support.8bitdo.com/ + +input_driver = "android" +input_device = "8Bitdo 8Bitdo SF30 Wireless Controller" +input_device_display_name = "8Bitdo SF30 2.4G" + + + +input_vendor_id = "11720" +input_product_id = "12289" + +input_b_btn = "97" +input_y_btn = "100" +input_select_btn = "109" +input_start_btn = "108" +input_a_btn = "96" +input_x_btn = "99" +input_l_btn = "102" +input_r_btn = "103" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L" +input_r_btn_label = "R" + + +input_up_axis = "-1" +input_down_axis = "+1" +input_left_axis = "-0" +input_right_axis = "+0" + +input_up_axis_label = "Dpad Up" +input_down_axis_label = "Dpad Down" +input_left_axis_label = "Dpad Left" +input_right_axis_label = "Dpad Right" diff --git a/android/8Bitdo_24G_SN30_USB.cfg b/android/8Bitdo_24G_SN30_USB.cfg new file mode 100644 index 0000000..c83dc22 --- /dev/null +++ b/android/8Bitdo_24G_SN30_USB.cfg @@ -0,0 +1,40 @@ +# 8Bitdo SN30 2.4G - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30-sf30-2_4g-for-snes-and-sfc-classic-edition/ +# Firmware N/A - http://support.8bitdo.com/ + +input_driver = "android" +input_device = "8Bitdo 8Bitdo SN30 Wireless Controller" +input_device_display_name = "8Bitdo SN30 2.4G" + + + +input_vendor_id = "11720" +input_product_id = "12288" + +input_b_btn = "97" +input_y_btn = "100" +input_select_btn = "109" +input_start_btn = "108" +input_a_btn = "96" +input_x_btn = "99" +input_l_btn = "102" +input_r_btn = "103" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L" +input_r_btn_label = "R" + + +input_up_axis = "-1" +input_down_axis = "+1" +input_left_axis = "-0" +input_right_axis = "+0" + +input_up_axis_label = "Dpad Up" +input_down_axis_label = "Dpad Down" +input_left_axis_label = "Dpad Left" +input_right_axis_label = "Dpad Right" diff --git a/android/8Bitdo_Pro_SF30_BT.cfg b/android/8Bitdo_Pro_SF30_BT.cfg new file mode 100644 index 0000000..1123f8d --- /dev/null +++ b/android/8Bitdo_Pro_SF30_BT.cfg @@ -0,0 +1,66 @@ +# 8Bitdo SF30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "android" +input_device = "8Bitdo SF30 Pro" +input_device_display_name = "8Bitdo SF30 Pro" + + + +input_vendor_id = "11720" +input_product_id = "24832" + +input_b_btn = "97" +input_y_btn = "100" +input_select_btn = "109" +input_start_btn = "108" +input_a_btn = "96" +input_x_btn = "99" +input_l_btn = "102" +input_r_btn = "103" +input_l2_btn = "104" +input_r2_btn = "105" +input_l3_btn = "106" +input_r3_btn = "107" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+3" +input_r_y_minus_axis = "-3" +input_menu_toggle_btn = "98" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + + +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" diff --git a/android/8Bitdo_Pro_SF30_USB.cfg b/android/8Bitdo_Pro_SF30_USB.cfg new file mode 100644 index 0000000..fd7a5bc --- /dev/null +++ b/android/8Bitdo_Pro_SF30_USB.cfg @@ -0,0 +1,77 @@ +# 8Bitdo SF30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "android" +input_device = "8Bitdo SF30 Pro 8Bitdo SF30 Pro" +input_device_display_name = "8Bitdo SF30 Pro" + + + +input_vendor_id = "11720" +input_product_id = "24576" + +input_b_btn = "97" +input_y_btn = "100" +input_select_btn = "109" +input_start_btn = "108" +input_a_btn = "96" +input_x_btn = "99" +input_l_btn = "102" +input_r_btn = "103" +input_l2_btn = "104" +input_r2_btn = "105" +input_l3_btn = "106" +input_r3_btn = "107" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+3" +input_r_y_minus_axis = "-3" +input_menu_toggle_btn = "98" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + +# Dpad btn +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" + +# Dpad axis +input_up_axis = "-7" +input_down_axis = "+7" +input_left_axis = "+8" +input_right_axis = "+9" + +input_up_axis_label = "Dpad Up" +input_down_axis_label = "Dpad Down" +input_left_axis_label = "Dpad Left" +input_right_axis_label = "Dpad Right" diff --git a/android/8Bitdo_Pro_SN30_BT.cfg b/android/8Bitdo_Pro_SN30_BT.cfg new file mode 100644 index 0000000..42915eb --- /dev/null +++ b/android/8Bitdo_Pro_SN30_BT.cfg @@ -0,0 +1,66 @@ +# 8Bitdo SN30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "android" +input_device = "8Bitdo SN30 Pro" +input_device_display_name = "8Bitdo SN30 Pro" + + + +input_vendor_id = "11720" +input_product_id = "24833" + +input_b_btn = "97" +input_y_btn = "100" +input_select_btn = "109" +input_start_btn = "108" +input_a_btn = "96" +input_x_btn = "99" +input_l_btn = "102" +input_r_btn = "103" +input_l2_btn = "104" +input_r2_btn = "105" +input_l3_btn = "106" +input_r3_btn = "107" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+3" +input_r_y_minus_axis = "-3" +input_menu_toggle_btn = "98" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + + +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" diff --git a/android/8Bitdo_Pro_SN30_USB.cfg b/android/8Bitdo_Pro_SN30_USB.cfg new file mode 100644 index 0000000..f458400 --- /dev/null +++ b/android/8Bitdo_Pro_SN30_USB.cfg @@ -0,0 +1,77 @@ +# 8Bitdo SN30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "android" +input_device = "8Bitdo SN30 Pro 8Bitdo SN30 Pro" +input_device_display_name = "8Bitdo SN30 Pro" + + + +input_vendor_id = "11720" +input_product_id = "24577" + +input_b_btn = "97" +input_y_btn = "100" +input_select_btn = "109" +input_start_btn = "108" +input_a_btn = "96" +input_x_btn = "99" +input_l_btn = "102" +input_r_btn = "103" +input_l2_btn = "104" +input_r2_btn = "105" +input_l3_btn = "106" +input_r3_btn = "107" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+3" +input_r_y_minus_axis = "-3" +input_menu_toggle_btn = "98" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + +# Dpad btn +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" + +# Dpad axis +input_up_axis = "-7" +input_down_axis = "+7" +input_left_axis = "+8" +input_right_axis = "+9" + +input_up_axis_label = "Dpad Up" +input_down_axis_label = "Dpad Down" +input_left_axis_label = "Dpad Left" +input_right_axis_label = "Dpad Right" diff --git a/udev/8Bitdo_24G_SF30_USB.cfg b/udev/8Bitdo_24G_SF30_USB.cfg new file mode 100644 index 0000000..f7348ad --- /dev/null +++ b/udev/8Bitdo_24G_SF30_USB.cfg @@ -0,0 +1,40 @@ +# 8Bitdo SF30 2.4G - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30-sf30-2_4g-for-snes-and-sfc-classic-edition/ +# Firmware N/A - http://support.8bitdo.com/ + +input_driver = "udev" +input_device = "8Bitdo 8Bitdo SF30 Wireless Controller" +input_device_display_name = "8Bitdo SF30 2.4G" + +# Hex vid:pid is found using "dmesg -w" or "tail -f /var/log/syslog" and converted to Decimal using http://www.binaryhexconverter.com/hex-to-decimal-converter +# Hex vid:pid = 2DC8:3001 -> Decimal vid:pid = 11720:12289 +input_vendor_id = "11720" +input_product_id = "12289" + +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_a_btn = "0" +input_x_btn = "3" +input_l_btn = "6" +input_r_btn = "7" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L" +input_r_btn_label = "R" + + +input_up_axis = "-1" +input_down_axis = "+1" +input_left_axis = "-0" +input_right_axis = "+0" + +input_up_axis_label = "Dpad Up" +input_down_axis_label = "Dpad Down" +input_left_axis_label = "Dpad Left" +input_right_axis_label = "Dpad Right" diff --git a/udev/8Bitdo_24G_SN30_USB.cfg b/udev/8Bitdo_24G_SN30_USB.cfg index 8e682bd..cdbb2f3 100644 --- a/udev/8Bitdo_24G_SN30_USB.cfg +++ b/udev/8Bitdo_24G_SN30_USB.cfg @@ -1,4 +1,4 @@ -# 8Bitdo SN30 2.4G - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30-sf30/ +# 8Bitdo SN30 2.4G - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30-sf30-2_4g-for-snes-and-sfc-classic-edition/ # Firmware N/A - http://support.8bitdo.com/ input_driver = "udev" diff --git a/udev/8Bitdo_Pro_SF30_BT.cfg b/udev/8Bitdo_Pro_SF30_BT.cfg new file mode 100644 index 0000000..369383b --- /dev/null +++ b/udev/8Bitdo_Pro_SF30_BT.cfg @@ -0,0 +1,73 @@ +# 8Bitdo SF30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "udev" +input_device = "8Bitdo SF30 Pro" +input_device_display_name = "8Bitdo SF30 Pro" + +# Hex vid:pid is found using "dmesg -w" or "tail -f /var/log/syslog" and converted to Decimal using http://www.binaryhexconverter.com/hex-to-decimal-converter +# Hex vid:pid = 2DC8:6100 -> Decimal vid:pid = 11720:24832 +input_vendor_id = "11720" +input_product_id = "24832" + +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_a_btn = "0" +input_x_btn = "3" +input_l_btn = "6" +input_r_btn = "7" +input_l2_btn = "8" +input_r2_btn = "9" +input_l3_btn = "13" +input_r3_btn = "14" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+3" +input_r_y_minus_axis = "-3" +input_menu_toggle_btn = "2" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + + +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" + +# ------------------------------------------------------------------------------------------------------------------------------------------------- +# If RetroArch do NOT detect the controller when connected via Bluetooth and won't even recognize manual binding, +# fix it by adding this udev rule (the line below WITHOUT the # symbol at the beginning!) to "/etc/udev/rules.d/10-local.rules" and reboot. +# SUBSYSTEM=="input", ATTRS{name}=="8Bitdo SF30 Pro", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1" +# ------------------------------------------------------------------------------------------------------------------------------------------------- + diff --git a/udev/8Bitdo_Pro_SF30_USB.cfg b/udev/8Bitdo_Pro_SF30_USB.cfg new file mode 100644 index 0000000..babbd4f --- /dev/null +++ b/udev/8Bitdo_Pro_SF30_USB.cfg @@ -0,0 +1,77 @@ +# 8Bitdo SF30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "udev" +input_device = "8Bitdo SF30 Pro 8Bitdo SF30 Pro" +input_device_display_name = "8Bitdo SF30 Pro" + +# Hex vid:pid is found using "dmesg -w" or "tail -f /var/log/syslog" and converted to Decimal using http://www.binaryhexconverter.com/hex-to-decimal-converter +# Hex vid:pid = 2DC8:6000 -> Decimal vid:pid = 11720:24576 +input_vendor_id = "11720" +input_product_id = "24576" + +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_a_btn = "0" +input_x_btn = "3" +input_l_btn = "6" +input_r_btn = "7" +input_l2_btn = "8" +input_r2_btn = "9" +input_l3_btn = "13" +input_r3_btn = "14" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+3" +input_r_y_minus_axis = "-3" +input_menu_toggle_btn = "2" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + +# Dpad btn +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" + +# Dpad axis +input_up_axis = "-7" +input_down_axis = "+7" +input_left_axis = "+5" +input_right_axis = "+4" + +input_up_axis_label = "Dpad Up" +input_down_axis_label = "Dpad Down" +input_left_axis_label = "Dpad Left" +input_right_axis_label = "Dpad Right" diff --git a/udev/8Bitdo_Pro_SN30_BT.cfg b/udev/8Bitdo_Pro_SN30_BT.cfg index ac4f449..7815438 100644 --- a/udev/8Bitdo_Pro_SN30_BT.cfg +++ b/udev/8Bitdo_Pro_SN30_BT.cfg @@ -30,6 +30,7 @@ input_r_x_plus_axis = "+2" input_r_x_minus_axis = "-2" input_r_y_plus_axis = "+3" input_r_y_minus_axis = "-3" +input_menu_toggle_btn = "2" input_b_btn_label = "B" input_y_btn_label = "Y" @@ -51,6 +52,7 @@ input_r_x_plus_axis_label = "RS Right" input_r_x_minus_axis_label = "RS Left" input_r_y_plus_axis_label = "RS Down" input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" input_up_btn = "h0up" @@ -68,3 +70,4 @@ input_right_btn_label = "Dpad Right" # fix it by adding this udev rule (the line below WITHOUT the # symbol at the beginning!) to "/etc/udev/rules.d/10-local.rules" and reboot. # SUBSYSTEM=="input", ATTRS{name}=="8Bitdo SN30 Pro", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1" # ------------------------------------------------------------------------------------------------------------------------------------------------- + diff --git a/udev/8Bitdo_Pro_SN30_USB.cfg b/udev/8Bitdo_Pro_SN30_USB.cfg index 902af23..bbdc923 100644 --- a/udev/8Bitdo_Pro_SN30_USB.cfg +++ b/udev/8Bitdo_Pro_SN30_USB.cfg @@ -30,6 +30,7 @@ input_r_x_plus_axis = "+2" input_r_x_minus_axis = "-2" input_r_y_plus_axis = "+3" input_r_y_minus_axis = "-3" +input_menu_toggle_btn = "2" input_b_btn_label = "B" input_y_btn_label = "Y" @@ -51,6 +52,7 @@ input_r_x_plus_axis_label = "RS Right" input_r_x_minus_axis_label = "RS Left" input_r_y_plus_axis_label = "RS Down" input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" # Dpad btn input_up_btn = "h0up" diff --git a/xinput/8Bitdo_24G_SF30_USB.cfg b/xinput/8Bitdo_24G_SF30_USB.cfg new file mode 100644 index 0000000..77169f3 --- /dev/null +++ b/xinput/8Bitdo_24G_SF30_USB.cfg @@ -0,0 +1,40 @@ +# 8Bitdo SF30 2.4G - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30-sf30-2_4g-for-snes-and-sfc-classic-edition/ +# Firmware N/A - http://support.8bitdo.com/ + +input_driver = "xinput" +input_device = "8Bitdo SF30 Wireless Controller" +input_device_display_name = "8Bitdo SF30 2.4G" + +# Hex vid:pid and Decimal vid:pid is shown in the "log_verbosity" window, enable "log_verbosity" in retroarch.cfg and run RetroArch. +# Hex vid:pid = 2DC8:3001 -> Decimal vid:pid = 11720:12289 +input_vendor_id = "11720" +input_product_id = "12289" + +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_a_btn = "0" +input_x_btn = "3" +input_l_btn = "6" +input_r_btn = "7" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L" +input_r_btn_label = "R" + + +input_up_axis = "-1" +input_down_axis = "+1" +input_left_axis = "-0" +input_right_axis = "+0" + +input_up_axis_label = "Dpad Up" +input_down_axis_label = "Dpad Down" +input_left_axis_label = "Dpad Left" +input_right_axis_label = "Dpad Right" diff --git a/xinput/8Bitdo_24G_SN30_USB.cfg b/xinput/8Bitdo_24G_SN30_USB.cfg new file mode 100644 index 0000000..a312721 --- /dev/null +++ b/xinput/8Bitdo_24G_SN30_USB.cfg @@ -0,0 +1,40 @@ +# 8Bitdo SN30 2.4G - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30-sf30-2_4g-for-snes-and-sfc-classic-edition/ +# Firmware N/A - http://support.8bitdo.com/ + +input_driver = "xinput" +input_device = "8Bitdo SN30 Wireless Controller" +input_device_display_name = "8Bitdo SN30 2.4G" + +# Hex vid:pid and Decimal vid:pid is shown in the "log_verbosity" window, enable "log_verbosity" in retroarch.cfg and run RetroArch. +# Hex vid:pid = 2DC8:3000 -> Decimal vid:pid = 11720:12288 +input_vendor_id = "11720" +input_product_id = "12288" + +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_a_btn = "0" +input_x_btn = "3" +input_l_btn = "6" +input_r_btn = "7" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L" +input_r_btn_label = "R" + + +input_up_axis = "-1" +input_down_axis = "+1" +input_left_axis = "-0" +input_right_axis = "+0" + +input_up_axis_label = "Dpad Up" +input_down_axis_label = "Dpad Down" +input_left_axis_label = "Dpad Left" +input_right_axis_label = "Dpad Right" diff --git a/xinput/8Bitdo_Pro_SF30_BT.cfg b/xinput/8Bitdo_Pro_SF30_BT.cfg new file mode 100644 index 0000000..47789fd --- /dev/null +++ b/xinput/8Bitdo_Pro_SF30_BT.cfg @@ -0,0 +1,66 @@ +# 8Bitdo SF30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "xinput" +input_device = "Bluetooth Wireless Controller " +input_device_display_name = "8Bitdo SF30 Pro" + +# Hex vid:pid and Decimal vid:pid is shown in the "log_verbosity" window, enable "log_verbosity" in retroarch.cfg and run RetroArch. +# Hex vid:pid = 2DC8:6100 -> Decimal vid:pid = 11720:24832 +input_vendor_id = "11720" +input_product_id = "24832" + +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_a_btn = "0" +input_x_btn = "3" +input_l_btn = "6" +input_r_btn = "7" +input_l2_btn = "8" +input_r2_btn = "9" +input_l3_btn = "13" +input_r3_btn = "14" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+5" +input_r_y_minus_axis = "-5" +input_menu_toggle_btn = "2" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + + +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" diff --git a/xinput/8Bitdo_Pro_SF30_USB.cfg b/xinput/8Bitdo_Pro_SF30_USB.cfg new file mode 100644 index 0000000..c893d8a --- /dev/null +++ b/xinput/8Bitdo_Pro_SF30_USB.cfg @@ -0,0 +1,66 @@ +# 8Bitdo SF30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "xinput" +input_device = "8Bitdo SF30 Pro" +input_device_display_name = "8Bitdo SF30 Pro" + +# Hex vid:pid and Decimal vid:pid is shown in the "log_verbosity" window, enable "log_verbosity" in retroarch.cfg and run RetroArch. +# Hex vid:pid = 2DC8:6000 -> Decimal vid:pid = 11720:24576 +input_vendor_id = "11720" +input_product_id = "24576" + +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_a_btn = "0" +input_x_btn = "3" +input_l_btn = "6" +input_r_btn = "7" +input_l2_btn = "8" +input_r2_btn = "9" +input_l3_btn = "13" +input_r3_btn = "14" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+5" +input_r_y_minus_axis = "-5" +input_menu_toggle_btn = "2" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + + +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" diff --git a/xinput/8Bitdo_Pro_SN30_BT.cfg b/xinput/8Bitdo_Pro_SN30_BT.cfg new file mode 100644 index 0000000..ac623db --- /dev/null +++ b/xinput/8Bitdo_Pro_SN30_BT.cfg @@ -0,0 +1,66 @@ +# 8Bitdo SN30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "xinput" +input_device = "Bluetooth Wireless Controller " +input_device_display_name = "8Bitdo SN30 Pro" + +# Hex vid:pid and Decimal vid:pid is shown in the "log_verbosity" window, enable "log_verbosity" in retroarch.cfg and run RetroArch. +# Hex vid:pid = 2DC8:6101 -> Decimal vid:pid = 11720:24833 +input_vendor_id = "11720" +input_product_id = "24833" + +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_a_btn = "0" +input_x_btn = "3" +input_l_btn = "6" +input_r_btn = "7" +input_l2_btn = "8" +input_r2_btn = "9" +input_l3_btn = "13" +input_r3_btn = "14" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+5" +input_r_y_minus_axis = "-5" +input_menu_toggle_btn = "2" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + + +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" diff --git a/xinput/8Bitdo_Pro_SN30_USB.cfg b/xinput/8Bitdo_Pro_SN30_USB.cfg new file mode 100644 index 0000000..e79e01e --- /dev/null +++ b/xinput/8Bitdo_Pro_SN30_USB.cfg @@ -0,0 +1,66 @@ +# 8Bitdo SN30 Pro - http://www.8bitdo.com/ - http://www.8bitdo.com/sn30pro-sf30pro/ +# Firmware v1.23 - http://support.8bitdo.com/ - http://download.8bitdo.com/Firmware/Controller/SN30pro+SF30pro/SN30pro+SF30pro_Firmware_V1.23.zip + +input_driver = "xinput" +input_device = "8Bitdo SN30 Pro" +input_device_display_name = "8Bitdo SN30 Pro" + +# Hex vid:pid and Decimal vid:pid is shown in the "log_verbosity" window, enable "log_verbosity" in retroarch.cfg and run RetroArch. +# Hex vid:pid = 2DC8:6001 -> Decimal vid:pid = 11720:24577 +input_vendor_id = "11720" +input_product_id = "24577" + +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_a_btn = "0" +input_x_btn = "3" +input_l_btn = "6" +input_r_btn = "7" +input_l2_btn = "8" +input_r2_btn = "9" +input_l3_btn = "13" +input_r3_btn = "14" +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 = "+2" +input_r_x_minus_axis = "-2" +input_r_y_plus_axis = "+5" +input_r_y_minus_axis = "-5" +input_menu_toggle_btn = "2" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_btn_label = "L2" +input_r2_btn_label = "R2" +input_l3_btn_label = "LS" +input_r3_btn_label = "RS" +input_l_x_plus_axis_label = "LS Right" +input_l_x_minus_axis_label = "LS Left" +input_l_y_plus_axis_label = "LS Down" +input_l_y_minus_axis_label = "LS Up" +input_r_x_plus_axis_label = "RS Right" +input_r_x_minus_axis_label = "RS Left" +input_r_y_plus_axis_label = "RS Down" +input_r_y_minus_axis_label = "RS Up" +input_menu_toggle_btn_label = "Home" + + +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" + +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" diff --git a/xinput/8Bitdo_Zero_BT.cfg b/xinput/8Bitdo_Zero_BT.cfg index 5946e7e..898ad15 100644 --- a/xinput/8Bitdo_Zero_BT.cfg +++ b/xinput/8Bitdo_Zero_BT.cfg @@ -2,7 +2,7 @@ # Firmware N/A - http://support.8bitdo.com/ input_driver = "xinput" -input_device = "Bluetooth Wireless Controller" +input_device = "Bluetooth Wireless Controller " input_device_display_name = "8Bitdo ZERO" # Hex vid:pid and Decimal vid:pid is shown in the "log_verbosity" window, enable "log_verbosity" in retroarch.cfg and run RetroArch.