libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.17k stars 1.82k forks source link

Inconsistent controller profile generation for Nintendo Switch Pro Controller #16861

Closed davidhedlund closed 1 month ago

davidhedlund commented 1 month ago

Description

Both Sony DualSense and Sony DualShock 4 v2 generate data that is consistent with Device Index.

DualSense

"Save Controller Profile" generates Sony Interactive Entertainment DualSense Wireless Controller.cfg with content: input_device = "Sony Interactive Entertainment DualSense Wireless Controller"

Screenshot at 2024-08-10 17-10-46

DualShock 4 v2

"Save Controller Profile" generates Sony Interactive Entertainment Wireless Controller.cfg with content: input_device = "Sony Interactive Entertainment Wireless Controller"

Screenshot at 2024-08-10 17-11-49

Expected behavior

It should either:

Actual behavior

It generates a file called Nintendo Co., Ltd. Pro Controller.cfg with content: input_device = "Nintendo Co., Ltd. Pro Controller"

Steps to reproduce the bug

  1. Go to Settings -> Input -> RetroPad Binds -> Port 1 Controls
  2. Ensure Device Index has value: Nintendo Switch Pro Controller

Screenshot at 2024-08-10 17-09-37

  1. Click on "Save Controller Profile"

Version/Commit

You can find this information under Information/System Information

Environment information

davidhedlund commented 1 month ago

Cannot reproduce. Tried with both SDL2, and UDEV.