Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 38 commits into
base: master
Choose a base branch
from

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 libretro#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"
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.

2 participants