-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Sony PlayStation Controllers: Device Index mislabeling in Flatpak #16868
Comments
…inment Wireless Controller.cfg # Manually renamed from "PS4 Controller.cfg", see libretro/RetroArch#16868
# Manually renamed from "PS5 Controller", see libretro/RetroArch#16868
# Flatpak incorrectly generate "PS4 Controller", see libretro/RetroArch#16868
There is an issue with udev on Flatpak so they switch to SDL2. It seems it is the name given by the SDL2 Game controller community database. You can check it using SDL2 Gamepad Mapper. So I am not sure we can change it. |
What gouchi said. The filename that is saved is determined by the input driver, and not a symptom of RetroArch itself. Feel free to rename the file to what you want it to be and send it in a PR to https://github.com/libretro/retroarch-joypad-autoconfig/ |
As I said in the top post:
Should I file a bug report to the Appimage repo? |
Thank you very much for the database reference. |
Yes I know it. But we are using Gitlab CI/CD to build the AppImage package. I meant we don't have dedicated repo for the AppImage package so you might open an issue in this repo. Thank you. |
Thanks back. |
Description
In the Flatpak version of RetroArch, Sony PlayStation controllers are incorrectly labeled as "PS[X] Controller" ("Save Controller Profile" generates [controller name].cfg with content
input_device = [controller name]
) regardless of the Linux kernel version. This issue does not occur with the Appimage version.For comparison, other controllers such as the Nintendo Switch Pro Controller are correctly identified and saved as "Nintendo Switch Pro Controller.cfg" across sdl2, udev, and linuxraw drivers.
Expected Behavior
Ubuntu MATE 23.04
On Ubuntu MATE 23.04 with Linux kernel 6.2.0, udev, and linuxraw correctly identifies the DualSense and DualShock 4 v2 controllers as "DualSense Wireless Controller" and "Wireless Controller" respectively.
So with sdl2:
Ubuntu MATE 22.04 and Ubuntu MATE 24.04
On Ubuntu MATE 22.04 with Linux kernel 5.19.0 and Ubuntu MATE 24.04 with Linux kernel 6.8.0, udev, and linuxraw correctly identifies the DualSense and DualShock 4 v2 controllers as "Sony Interactive Entertainment DualSense Wireless Controller" and "Sony Interactive Entertainment Wireless Controller" respectively.
So with sdl2:
Steps to Reproduce the Bug
Version/Commit
Environment Information
The text was updated successfully, but these errors were encountered: