From 3825d0062eabd819ce32a3a547ba881474e32a77 Mon Sep 17 00:00:00 2001 From: Sanaki Date: Wed, 27 Apr 2022 01:22:15 -0700 Subject: [PATCH] Add Steam Virtual Gamepad (SDL2) --- sdl2/Steam Virtual Gamepad.cfg | 54 ++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 sdl2/Steam Virtual Gamepad.cfg diff --git a/sdl2/Steam Virtual Gamepad.cfg b/sdl2/Steam Virtual Gamepad.cfg new file mode 100644 index 0000000..93866e0 --- /dev/null +++ b/sdl2/Steam Virtual Gamepad.cfg @@ -0,0 +1,54 @@ +input_driver = "sdl2" +input_device = "Steam Virtual Gamepad" +input_vendor_id = "10462" +input_product_id = "4607" +input_b_btn = "0" +input_y_btn = "2" +input_select_btn = "4" +input_start_btn = "6" +input_up_btn = "11" +input_down_btn = "12" +input_left_btn = "13" +input_right_btn = "14" +input_a_btn = "1" +input_x_btn = "3" +input_l_btn = "9" +input_r_btn = "10" +input_l2_axis = "+4" +input_r2_axis = "+5" +input_l3_btn = "7" +input_r3_btn = "8" +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 = "Select" +input_start_btn_label = "Start" +input_up_btn_label = "Dpad Up" +input_down_btn_label = "Dpad Down" +input_left_btn_label = "Dpad Left" +input_right_btn_label = "Dpad Right" +input_a_btn_label = "B" +input_x_btn_label = "Y" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_axis_label = "L2" +input_r2_axis_label = "R2" +input_l3_btn_label = "L3" +input_r3_btn_label = "R3" + +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"