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 and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony DualShock 4 Controller.cfg -- Merge DualShock 4 v1 and v2 #1168

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

Conversation

davidhedlund
Copy link
Contributor

@davidhedlund davidhedlund commented Aug 6, 2024

@davidhedlund davidhedlund changed the title Update Sony-PlayStation4-DualShock4v2-Controller.cfg udev: Update Sony-PlayStation4-DualShock4v2-Controller.cfg Aug 6, 2024
@davidhedlund davidhedlund changed the title udev: Update Sony-PlayStation4-DualShock4v2-Controller.cfg udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg Aug 18, 2024
@davidhedlund davidhedlund changed the title udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg Aug 18, 2024
@davidhedlund davidhedlund changed the title udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment 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 = "2508"
# The files "Sony Interactive Entertainment Wireless Controller.cfg" and "Wireless Controller.cfg" should have identical content except for the input_device variable until they can be merged when this issue has been solved: [IMPORTANT feature request]: Support multiple input_device names for controller compatibility across Linux kernels - libretro/RetroArch#16907
@davidhedlund davidhedlund changed the title [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg. And create a copy named Wireless Controller.cfg Aug 21, 2024
input_device_display_name = "Sony DualShock 4 v2 Controller (USB)"
input_device_display_name = "Sony DualShock 4 v2 Controller (BlueTooth)"
# This file is enabled by default to let you use the controller via USB. 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 "Wireless Controller.cfg" file. Both files cannot be active simultaneously.
# This file will be detected if BlueTooth is used but this file is disabled by default since "Sony Interactive Entertainment 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 Wireless Controller.cfg" file. Both files cannot be active simultaneously.
#input_vendor_id = "1356"
#input_product_id = "2508"
# 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 axes :
# 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 axes :
 # 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
input_device = "Wireless Controller"
@davidhedlund davidhedlund changed the title [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg. And create a copy named Wireless Controller.cfg [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg. And create a Wireless Controller.cfg copy Aug 26, 2024
@davidhedlund davidhedlund changed the title [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg. And create a Wireless Controller.cfg copy [WAIT] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg. And create a Wireless Controller.cfg copy Sep 2, 2024
@davidhedlund davidhedlund changed the title [WAIT] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg. And create a Wireless Controller.cfg copy [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg. And create a Wireless Controller.cfg copy 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 and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg. And create a Wireless Controller.cfg copy [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg Sep 4, 2024
davidhedlund added a commit to davidhedlund/retroarch-joypad-autoconfig that referenced this pull request Sep 12, 2024
@davidhedlund davidhedlund changed the title [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony Interactive Entertainment Wireless Controller.cfg [READY] udev: Merge DualShock 4 v1 and v2 Sep 12, 2024
@davidhedlund davidhedlund changed the title [READY] udev: Merge DualShock 4 v1 and v2 [READY] udev: Merge Sony Interactive Entertainment Wireless Controller (DualShock 4 v2) and Sony Computer Entertainment Wireless (DualShock 4 v1) Sep 13, 2024
@davidhedlund davidhedlund changed the title [READY] udev: Merge Sony Interactive Entertainment Wireless Controller (DualShock 4 v2) and Sony Computer Entertainment Wireless (DualShock 4 v1) [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony DualShock 4 Controller.cfg -- Merge DualShock 4 v1 and v2 Sep 13, 2024
input_device = "Sony Interactive Entertainment Wireless Controller"
input_device_display_name = "Sony Interactive Entertainment Wireless Controller (DualShock 4 v2)"
input_vendor_id = "1356"
input_product_id = "2508"
input_device_alt1 = "Wireless Controller"
input_device_display_name_alt1 = "Wireless Controller (DualShock 4 v2)"
input_vendor_id_alt1 = "1356"
input_product_id_alt1 = "2508"
input_device_alt2 = "Sony Computer Entertainment Wireless Controller"
input_device_display_name_alt2 = "Sony Computer Entertainment Wireless (DualShock 4 v1)"
input_vendor_id_alt2 = "1356"
input_product_id_alt2 = "1476"
udev/Sony DualShock 4 Controller.cfg Show resolved Hide resolved
udev/Sony DualShock 4 Controller.cfg Outdated Show resolved Hide resolved
@davidhedlund davidhedlund changed the title [READY] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony DualShock 4 Controller.cfg -- Merge DualShock 4 v1 and v2 [Ready for RetroArch 1.19.2] udev: Update and rename Sony-PlayStation4-DualShock4v2-Controller.cfg to Sony DualShock 4 Controller.cfg -- Merge DualShock 4 v1 and v2 Oct 1, 2024
input_device_alt2 = "Wireless Controller"
input_device_display_name_alt2 = "Sony Dualshock 4 Wireless - 500 Million Limited Edition (DualShock 4 v2)"
input_vendor_id_alt2 = "1356"
input_product_id_alt2 = "2508"


Thanks rob
input_device_alt2 = "Sony Dualshock 4 Wireless - 500 Million Limited Edition"
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