From 6881826521613babba3b45ddcf01eb74583b8001 Mon Sep 17 00:00:00 2001 From: Robin Ebert Date: Fri, 29 Sep 2023 23:04:45 +0200 Subject: [PATCH] udev: Add SPEEDLINK TORID Controller --- udev/SPEEDLINK TORID.cfg | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 udev/SPEEDLINK TORID.cfg diff --git a/udev/SPEEDLINK TORID.cfg b/udev/SPEEDLINK TORID.cfg new file mode 100644 index 000000000..6866fb8cd --- /dev/null +++ b/udev/SPEEDLINK TORID.cfg @@ -0,0 +1,56 @@ +input_driver = "udev" +input_device = "SPEEDLINK TORID" + +# 11c0:9105 +input_vendor_id = "4544" +input_product_id = "37125" + +input_b_btn = "2" +input_y_btn = "3" +input_select_btn = "8" +input_start_btn = "9" +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" +input_a_btn = "1" +input_x_btn = "0" +input_l_btn = "4" +input_r_btn = "5" +input_l2_btn = "6" +input_r2_btn = "7" +input_l3_btn = "10" +input_r3_btn = "11" +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_b_btn_label = "A" +input_y_btn_label = "X" +input_select_btn_label = "Back" +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"