[Ready for RetroArch 1.20.0] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg#1140
Merged
LibretroAdmin merged 38 commits intolibretro:masterfrom Jul 19, 2025
davidhedlund:patch-29
Merged
[Ready for RetroArch 1.20.0] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg#1140LibretroAdmin merged 38 commits intolibretro:masterfrom davidhedlund:patch-29
Sony Interactive Entertainment DualSense Wireless Controller.cfg#1140LibretroAdmin merged 38 commits intolibretro:masterfrom
davidhedlund:patch-29
Conversation
…: Updated information: Removed hardware/firmware details for a tested controller The original information about hardware/firmware versions and tested GNU/Linux distributions has been removed. This is because the issue was identified as a bug in RetroArch, not related to specific controller versions. Removed: # # Successful evaluation of DualSense firmware versions + Tested GNU/Linux distribution (and kernel): # * DualSense (Model number: CFI-ZCT1W A. DualSense firmware: 0402) + Trisquel GNU/Linux 11 in live mode ($ uname -a: Linux trisquel 5.15.0-67-generic #74+11.0trisquel18 SMP Sun Mar 5 03:14:11 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux) Replaced (https://github.com/libretro/retroarch-joypad-autoconfig/pull/1135/files) with: # Note 2024-06-04 : # See libretro/RetroArch#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 axises :
Sony Interactive Entertainment DualSense Wireless Controller.cfg
Sony Interactive Entertainment DualSense Wireless Controller.cfgSony Interactive Entertainment DualSense Wireless Controller.cfg
input_menu_toggle_btn = "5" this is the Flatpak package value, the old value was incorrectly generated by the Appimage, see: hizzlekizzle/RetroArch-AppImage#12
Sony Interactive Entertainment DualSense Wireless Controller.cfgSony Interactive Entertainment DualSense Wireless Controller.cfg
input_l2_axis_label = "L2 Analog" input_r2_axis_label = "R2 Analog"
The udev driver depends on input_device, rather than input_vendor_id and input_product_id.
# Remove input_vendor_id and input_product_id once this issue has been solved: [IMPORTANT] Unnecessary input_vendor_id, and input_product_id in autoconfig files generated by udev - libretro/RetroArch#16904 input_vendor_id = "1356" input_product_id = "3302"
input_device_display_name = "Sony DualSense (USB)"
# The files "DualSense Wireless Controller.cfg" and "Sony Interactive Entertainment DualSense Wireless Controller.cfg" should have identical content except for the input_device variable. This difference allows the linuxraw and udev drivers to recognize the controller on various Linux kernel versions.
Sony Interactive Entertainment DualSense Wireless Controller.cfgSony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfg
# Meanwhile, you need to uncomment the two variables below and comment them in "Sony Interactive Entertainment DualSense Wireless Controller.cfg" to enable this controller.
# This file will be detected if BlueTooth is used but this file is disabled by default since "Sony Interactive Entertainment DualSense Wireless Controller.cfg" (USB) is enabled by default. However, if you prefer to use Bluetooth instead, you need to comment out input_vendor_id and input_product_id in this file and uncomment them in the "Sony Interactive Entertainment DualSense Wireless Controller.cfg" file. Both files cannot be active simultaneously. # input_vendor_id = "1356" # input_product_id = "3302"
# This file will be detected if USB is used and it is enabled by default. However, if you prefer to use Bluetooth instead, you need to comment out input_vendor_id and input_product_id in this file and uncomment them in the "DualSense Wireless Controller.cfg" file. Both files cannot be active simultaneously.
# Analog indication verified in Remote RetroPad: Yes
# Analog indication verified in Remote RetroPad: Yes
It seems more straightforward for a single pull request to remove input_vendor_id from all udev files once we reach a consensus on the issue discussed in: libretro/RetroArch#16907
It seems more straightforward for a single pull request to remove input_vendor_id from all udev files once we reach a consensus on the issue discussed in: libretro/RetroArch#16907
Unnecessary input_vendor_id, and input_product_id in autoconfig files generated by udev - libretro/RetroArch#16904
Unnecessary input_vendor_id, and input_product_id in autoconfig files generated by udev - libretro/RetroArch#16904
Removed the final comments
removed the final comments
removed the final comments
Sony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfgSony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfg
input_product_id = "3302"
Sony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfgSony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfg
Avoid input_vendor_id/input_product_id conflict. Support multiple input_device and input_device_display_name variables - libretro/RetroArch#16907
Sony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfgSony Interactive Entertainment DualSense Wireless Controller.cfg
input_l2_axis_label = "L2 Trigger" input_r2_axis_label = "R2 Trigger"
input_device_alt1 = "DualSense Wireless Controller"
RobLoach
requested changes
Sep 28, 2024
Sony Interactive Entertainment DualSense Wireless Controller.cfgSony Interactive Entertainment DualSense Wireless Controller.cfg
input_device_display_name = "Sony DualSense"
sort input_device_alt1 = "DualSense Wireless Controller"
Sony Interactive Entertainment DualSense Wireless Controller.cfgSony Interactive Entertainment DualSense Wireless Controller.cfg
RobLoach
pushed a commit
that referenced
this pull request
Nov 10, 2025
* Update Nintendo Switch Pro Controller.cfg Replaced input_device_alt3 with input_device_alt2 as it was unused * Update Sony DualShock 4 Controller.cfg Corrected input_r_y_plus_axis_label value from `Right Analog Y+ (Up)` to `Right Analog Y+ (Down)` * Update Sony Interactive Entertainment DualSense Wireless Controller.cfg Corrected input_r_y_plus_axis_label value from `Right Analog Y+ (Up)` to `Right Analog Y+ (Down)` * Update Sony Interactive Entertainment DualSense Wireless Controller.cfg I reverted `input_menu_toggle_btn from "5"` (used by input_r_btn) back to "10" as introduced in #1140. I had mistakenly copied the SDL2 menu button value to UDEV in my previous PR https://github.com/libretro/retroarch-retroarch-joypad-autoconfig/pull/1140. I’ve now created a script that checks for duplicated values to prevent this from happening again. * Update Sony Interactive Entertainment DualSense Wireless Controller.cfg Standardizes the axis direction labels by capitalizing them (e.g., "Right" instead of "right") for improved consistency and style.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Corrected[reverted: in #1253]input_menu_toggle_btn