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

linuxraw: Update Sony Interactive Entertainment Wireless Controller #1172

Merged
merged 28 commits into from
Sep 28, 2024

Conversation

davidhedlund
Copy link
Contributor

@davidhedlund davidhedlund commented Aug 6, 2024

  • Added alternative names: Autoconfig extension with alternative name/vid/pid RetroArch#16990
  • Added analog triggers and " Trigger" to the labels for the triggers.
  • Added input_menu_toggle_btn
  • Added input_device_display_name = "Sony DualShock 4 (v1 and v2) Controller" -- this describes that it works for both controllers that normally needs separate autoconfig files due to different input_product_id
  • Added labels

#   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 :
input_device_display_name = "Sony DualShock 4 (v1 and v2) Controller"
# Touchpad is unbound in this autoconf, but has an ID of 11
cannot be used: # Touchpad is unbound in this autoconf, but has an ID of 11
revert addition of input_device_display_name = "Sony DualShock 4 (v1 and v2) Controller"

I need to compare the Device Index for this controller with different Linux kernel versions.
input_device_display_name = "Sony DualShock 4 Controller (v2)"
@davidhedlund davidhedlund changed the title linuxraw: Update Sony Interactive Entertainment Wireless Controller.cfg [READY] linuxraw: Update Sony Interactive Entertainment Wireless Controller.cfg Aug 17, 2024
input_l2_axis_label = "L2 Analog"
input_r2_axis_label = "R2 Analog"
# This file has not been evaluated. The linuxraw autoconfig files cannot be assessed in Remote RetroPad or in games until this issue is resolved: [IMPORTANT] linuxraw: Mapping variables are ineffective - https://github.com/libretro/RetroArch/issues/16856[1].
# 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
input_device_display_name = "Sony DualShock 4 v2 Controller (USB)"
@davidhedlund davidhedlund changed the title [READY] linuxraw: Update Sony Interactive Entertainment Wireless Controller.cfg [READY] linuxraw: Update Sony Interactive Entertainment Wireless Controller.cfg and create a Wireless Controller.cfg copy Aug 26, 2024
@davidhedlund davidhedlund changed the title [READY] linuxraw: Update Sony Interactive Entertainment Wireless Controller.cfg and create a Wireless Controller.cfg copy [READY] linuxraw: Update Sony Interactive Entertainment Wireless Controller.cfg. And create a Wireless Controller.cfg copy Aug 26, 2024
input_l2_axis_label = "L2 Trigger"
input_r2_axis_label = "R2 Trigger"
input_l2_axis_label = "L2"
input_r2_axis_label = "R2"


Will verify all linuwraw autoconfig files for analog L2/R2
Analog L2/R2 added after analog indication in Remote RetroPad
Analog L2/R2 added after analog indication in Remote RetroPad
Merged to Sony Interactive Entertainment Wireless Controller.cfg

See libretro/RetroArch#16990
@davidhedlund davidhedlund changed the title [READY] linuxraw: Update Sony Interactive Entertainment Wireless Controller.cfg. And create a Wireless Controller.cfg copy [READY] linuxraw: Update Sony Interactive Entertainment Wireless Controller.cfg Sep 12, 2024
@RobLoach RobLoach changed the title [READY] linuxraw: Update Sony Interactive Entertainment Wireless Controller.cfg linuxraw: Update Sony Interactive Entertainment Wireless Controller Sep 28, 2024
@RobLoach RobLoach merged commit 8103b36 into libretro:master Sep 28, 2024
1 check passed
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