linuxraw: "[Controller] Motion Sensors (0/0) not configured" error confusion
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Expected behavior
Image manipulated screenshots. Each option below is represented for both the Appimage, and the Flatpak package.
This may prevent users from mistakenly thinking their autoconfig files are broken. For instance, Linuxraw does not generate input_product_id and input_vendor_id in the autoconfig file, which may mislead users into believing this is a bug and that these variables should be added (see "(0/0)" on the screenshots), as I previously did. This has lead to incorrectly uploaded to https://github.com/libretro/retroarch-joypad-autoconfig -- even if these variables does not cause any harm, they should simply not be there.
Option 1
Add a note stating "Linuxraw does not support motion sensors"
Option 2
Remove the "[Controller] Motion Sensors (0/0) not configured" error message.
Actual behavior
Appimage 1.19.1
Flatpak 1.19.1
Steps to Reproduce
Issue reproduced with a Sony DualSense controller.
For Flatpak first set Settings -> Directories -> Controller Profiles to ~/.var/app/org.libretro.RetroArch/config/, otherwise you will not be able to Save Controller Profile later.
- Launch RetroArch.
- Go to Settings -> Drivers and select linuxraw for the Controller option.
- Restart RetroArch by navigating to Settings -> Restart RetroArch to apply the new driver settings.
- Access Settings -> Input -> RetroPad Binds -> Port 1 Binds and click on Set All Controls.
- Save the controller profile by returning to Settings -> Input -> RetroPad Binds -> Port 1 Binds and selecting Save Controller Profile.
- Restart RetroArch
Version/Commit
You can find this information under Information/System Information
- RetroArch: Appimage 1.19.1, and Flatpak 1.19.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the message through Settings → Drivers with linuxraw, then follow the Settings → Input → RetroPad Binds → Port 1 Binds flow using a Sony DualSense controller. Review how the linuxraw controller configuration is presented and resolve the confusion by either documenting that motion sensors are unsupported or removing the misleading error; verify the saved controller profile remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- frontend, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100