libretro / libretro/RetroArch

linuxraw: "[Controller] Motion Sensors (0/0) not configured" error confusion

Open
#16,828 3 comments 0 reactions 0 assignees View on GitHub

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"

linuxraw

Option 2

Remove the "[Controller] Motion Sensors (0/0) not configured" error message.

Appimage

Actual behavior
Appimage 1.19.1

354860948-ec6c5e0b-6e71-459b-b095-37637d512c7e

Flatpak 1.19.1

Screenshot at 2024-08-04 04-24-59

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.

  1. Launch RetroArch.
  2. Go to Settings -> Drivers and select linuxraw for the Controller option.
  3. Restart RetroArch by navigating to Settings -> Restart RetroArch to apply the new driver settings.
  4. Access Settings -> Input -> RetroPad Binds -> Port 1 Binds and click on Set All Controls.
  5. Save the controller profile by returning to Settings -> Input -> RetroPad Binds -> Port 1 Binds and selecting Save Controller Profile.
  6. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.