libretro / RetroArch

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

[feature request]: Include directory name and .cfg file name in the controller notification message #15993

Open davidhedlund opened 9 months ago

davidhedlund commented 9 months ago

Use case: Controller connection notification message

This popped up when I started RA in Android (with android used as driver):

Nintendo Switch Pro Controller configured in port #1

I downloaded the controller files in GNU/Linux to find out what was loaded

$ grep -r "\"Nintendo Switch Pro Controller\"" | sort
sdl2/Nintendo Switch Pro Controller.cfg:input_device = "Nintendo Switch Pro Controller"
udev/Nintendo - Switch Pro Controller.cfg:input_device_display_name = "Nintendo Switch Pro Controller"

I'm surprised that not "android/..." pop-up, since I'm using "android" as controller driver. However, since there are multiple .cfg names with the same controller titles, I simply suggest that the full path and filenames should be displayed instead to avoid confusion. For example:

sdl2/Nintendo Switch Pro Controller.cfg configured in port #1

Workaround

The workaround is to go to: Settings -> Information -> System Information -- then check for "Port 0 device name" which will list the "Device config name" (the .cfg file)

Use case: Fallback mode

Normally, the Device config name displays the .cfg file name, but it's not displayed in fallback mode (which happens when you have not run Main Menu -> Online Updater -> Update Controller Profiles):

image

I have no idea how the fallback is working. Does it use any .cfg file all? If so, then I think the full path and filename should be displayed, as I suggested in Use case 1.

RobLoach commented 7 months ago

Which Controller driver are you using?

davidhedlund commented 7 months ago

Which Controller driver are you using?

As I said in the top post:

This popped up when I started RA in Android (with android used as driver):

davidhedlund commented 7 months ago

Should this issue be labeled "bug: menu"? @RobLoach