From ab58b7a5564a0ad2ff3e3a67254dfcacf92177a0 Mon Sep 17 00:00:00 2001 From: Cristian Delgado Date: Wed, 1 Jan 2025 13:46:32 -0600 Subject: [PATCH] Added profiles for 8BitDo gamepads Lite 2 and 3Mode for Xbox --- udev/8BitDo 8BitDo Lite 2.cfg | 34 +++++++++++++++++++++++++++++ udev/8BitDo Ultimate 3mode Xbox.cfg | 33 ++++++++++++++++++++++++++++ udev/Generic X-Box pad.cfg | 31 ++++++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 udev/8BitDo 8BitDo Lite 2.cfg create mode 100644 udev/8BitDo Ultimate 3mode Xbox.cfg create mode 100644 udev/Generic X-Box pad.cfg diff --git a/udev/8BitDo 8BitDo Lite 2.cfg b/udev/8BitDo 8BitDo Lite 2.cfg new file mode 100644 index 000000000..446536443 --- /dev/null +++ b/udev/8BitDo 8BitDo Lite 2.cfg @@ -0,0 +1,34 @@ +# 8BitDo Lite 2 +# +# Website: https://www.8bitdo.com/lite2/ +# + + +input_driver = "udev" +input_device = "8BitDo 8BitDo Lite 2" +input_vendor_id = "11720" +input_product_id = "20754" +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" +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" diff --git a/udev/8BitDo Ultimate 3mode Xbox.cfg b/udev/8BitDo Ultimate 3mode Xbox.cfg new file mode 100644 index 000000000..99321f150 --- /dev/null +++ b/udev/8BitDo Ultimate 3mode Xbox.cfg @@ -0,0 +1,33 @@ +# 8BitDo Ultimate 3mode Xbox +# +# Website: https://www.8bitdo.com/ultimate-3-mode-controller-xbox/ +# + +input_driver = "udev" +input_device = "8BitDo Ultimate 3mode Xbox" +input_vendor_id = "11720" +input_product_id = "36891" +input_b_btn = "1" +input_y_btn = "4" +input_select_btn = "10" +input_start_btn = "11" +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" +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" diff --git a/udev/Generic X-Box pad.cfg b/udev/Generic X-Box pad.cfg new file mode 100644 index 000000000..328c2f9c2 --- /dev/null +++ b/udev/Generic X-Box pad.cfg @@ -0,0 +1,31 @@ +# This profile is used by some gamepads as 8BitDo and Thunder + + +input_driver = "udev" +input_device = "Generic X-Box pad" +input_vendor_id = "11720" +input_product_id = "8207" +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 = "0" +input_x_btn = "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"