Skip to content

[Ready for RetroArch 1.20.0] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg#1140

Merged
LibretroAdmin merged 38 commits intolibretro:masterfrom
davidhedlund:patch-29
Jul 19, 2025
Merged

[Ready for RetroArch 1.20.0] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg#1140
LibretroAdmin merged 38 commits intolibretro:masterfrom
davidhedlund:patch-29

Conversation

@davidhedlund
Copy link
Contributor

@davidhedlund davidhedlund commented Jul 8, 2024

…: 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 :
@davidhedlund davidhedlund changed the title udev/Sony Interactive Entertainment DualSense Wireless Controller.cfg… udev/Sony Interactive Entertainment DualSense Wireless Controller.cfg - removed logged hardware testing Jul 8, 2024
@davidhedlund davidhedlund changed the title udev/Sony Interactive Entertainment DualSense Wireless Controller.cfg - removed logged hardware testing udev: Updated Sony Interactive Entertainment DualSense Wireless Controller.cfg Aug 1, 2024
@davidhedlund davidhedlund changed the title udev: Updated Sony Interactive Entertainment DualSense Wireless Controller.cfg udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg Aug 1, 2024
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
@davidhedlund davidhedlund changed the title udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg [READY] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg Aug 20, 2024
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.
@davidhedlund davidhedlund changed the title [READY] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg [READY] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfg Aug 21, 2024
# 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
@davidhedlund davidhedlund changed the title [READY] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfg [WAIT] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfg Sep 2, 2024
@davidhedlund davidhedlund changed the title [WAIT] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfg [READY] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfg Sep 4, 2024
Avoid input_vendor_id/input_product_id conflict. Support multiple input_device and input_device_display_name variables - libretro/RetroArch#16907
@davidhedlund davidhedlund changed the title [READY] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg. And create a copy named DualSense Wireless Controller.cfg [READY] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg Sep 4, 2024
@davidhedlund davidhedlund changed the title [READY] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg [Ready for RetroArch 1.19.2] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg Oct 1, 2024
sort input_device_alt1 = "DualSense Wireless Controller"
@davidhedlund davidhedlund changed the title [Ready for RetroArch 1.19.2] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg [Ready for RetroArch 1.20.0] udev: Update Sony Interactive Entertainment DualSense Wireless Controller.cfg Jan 13, 2025
@offalynne offalynne mentioned this pull request Apr 27, 2025
@LibretroAdmin LibretroAdmin merged commit 0dff585 into libretro:master Jul 19, 2025
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants