From 4c40e04bef480a794db80e2c297c37d4ccab9cf6 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Thu, 3 Oct 2024 07:30:41 +0200 Subject: [PATCH] Create PS4 Controller.cfg Merge Sony DualShock 4 v1 and v2 --- sdl2/PS4 Controller.cfg | 59 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 sdl2/PS4 Controller.cfg diff --git a/sdl2/PS4 Controller.cfg b/sdl2/PS4 Controller.cfg new file mode 100644 index 000000000..f8e9aa35b --- /dev/null +++ b/sdl2/PS4 Controller.cfg @@ -0,0 +1,59 @@ +input_driver = "sdl2" +input_device = "PS4 Controller" +input_device_display_name = "PS4 Controller (DualShock 4 v2)" +input_vendor_id = "1356" +input_product_id = "2508" +input_device_alt1 = "PS4 Controller" +input_device_display_name_al1 = "PS4 Controller (DualShock 4 v1)" +input_vendor_id_alt1 = "1356" +input_product_id_alt1 = "1476" +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_menu_toggle_btn = "5" +input_b_btn_label = "Cross" +input_y_btn_label = "Square" +input_select_btn_label = "Share" +input_start_btn_label = "Options" +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 = "Circle" +input_x_btn_label = "Triangle" +input_l_btn_label = "L1" +input_r_btn_label = "R1" +input_l2_axis_label = "L2 Trigger" +input_r2_axis_label = "R2 Trigger" +input_l3_btn_label = "L3" +input_r3_btn_label = "R3" +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" +input_menu_toggle_btn_label = "PS"