Skip to content

Commit

Permalink
sdl2: Update display name for PS5 DualSense Controller (#1148)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhedlund authored Sep 28, 2024
1 parent f4bd478 commit 310edc0
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions sdl2/PS5 Controller.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
input_driver = "sdl2"
input_device = "PS5 Controller"
input_device_display_name = "DualSense"
input_device_display_name = "PS5 Controller (DualSense)"
input_vendor_id = "1356"
input_product_id = "3302"

input_b_btn = "0"
input_y_btn = "2"
input_select_btn = "4"
Expand All @@ -16,12 +15,6 @@ input_a_btn = "1"
input_x_btn = "3"
input_l_btn = "9"
input_r_btn = "10"
# Note 2024-07-08 :
# See https://github.com/libretro/RetroArch/issues/6920
# RetroArch's in-app feature to create autoconfig files is flawed and will attempt to create the 2 lines :
# input_l2_btn = "6"
# input_r2_btn = "7"
# Those 2 lines are a downgrade from the 2 following lines which additionally allow l2/r2 to be polled as analog axes :
input_l2_axis = "+4"
input_r2_axis = "+5"
input_l3_btn = "7"
Expand All @@ -35,7 +28,6 @@ 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 = "Create"
Expand All @@ -48,8 +40,8 @@ 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"
input_r2_axis_label = "R2"
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 X+"
Expand Down

0 comments on commit 310edc0

Please sign in to comment.