dolphin/Source/Core/DolphinQt/Config
JosJuice 6cf55ab1ee InputCommon: Unify GetProfileName and GetProfileDirectoryName
After reading the previous commit, you might think "hold on, what's the
difference between GetProfileName and GetProfileDirectoryName"? These
two are being used for the exact same thing - figuring out where
profiles are stored - yet they return different values for certain
controllers like GC keyboards! As far as I can tell, the existing code
has been broken for GC keyboards since they were introduced a decade
ago. The GUI (and more recently, also InputCycler) would write and read
profiles in one location, and our code for loading profiles specified in
a game INI file would read profiles in another location.

This commit gets rid of the set of values used by the game INI code in
favor of the other set. This does breaking existing setups where a
GCKey profile has been configured in a game INI, but I think the number
of working such setups is vanishingly small. The alternative would make
existing GCKey profiles go missing from the profile dropdown in the GUI,
which I think would be more disruptive. The alternative would also force
new GCKey profiles into the same directory as GCPad profiles.

This commit also fixes a regression from d6c0f8e749. The Android GUI was
using GetProfileName to figure out what key to use in the game INI,
which made it use incorrect game INI entries for GameCube controller
profiles but not Wii Remote profiles. Now the Android GUI uses
GetProfileKey for this, fixing the problem.
2024-02-04 17:55:08 +01:00
..
ConfigControls ConfigFloatSlider: Resolve -Wshadow warning 2023-12-12 17:07:37 -05:00
ControllerInterface DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
Graphics Qt: Handle Overridden Graphics Backend 2023-12-28 17:28:08 +00:00
Mapping InputCommon: Unify GetProfileName and GetProfileDirectoryName 2024-02-04 17:55:08 +01:00
ToolTipControls DolphinQt/Settings: Split setting of the user style into two functions. 2023-11-05 12:58:11 +01:00
ARCodeWidget.cpp Disable cheats in hardcore mode 2023-12-02 16:41:17 -05:00
ARCodeWidget.h Disable cheats in hardcore mode 2023-12-02 16:41:17 -05:00
CheatCodeEditor.cpp Split out code for serializing/deserializing cheat lines 2021-08-28 19:31:27 +02:00
CheatCodeEditor.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CheatWarningWidget.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CheatWarningWidget.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CommonControllersWidget.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
CommonControllersWidget.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
ControllersWindow.cpp Qt/WiimoteControllersWidget: Add bluetooth unavailable message 2023-02-24 14:30:43 -08:00
ControllersWindow.h Qt/WiimoteControllersWidget: Add bluetooth unavailable message 2023-02-24 14:30:43 -08:00
FilesystemWidget.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
FilesystemWidget.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
FreeLookWidget.cpp AchievementManager: Make GetInstance() return a reference 2023-12-11 13:36:39 -05:00
FreeLookWidget.h Qt: Rename GraphicsChoice to ConfigChoice 2023-04-25 11:39:24 -07:00
FreeLookWindow.cpp Disable Freelook in hardcore mode 2023-12-02 16:41:16 -05:00
FreeLookWindow.h Disable Freelook in hardcore mode 2023-12-02 16:41:16 -05:00
GameConfigEdit.cpp Rename Fast Disc Speed to Emulate Disc Speed and invert option 2023-02-12 16:20:38 -05:00
GameConfigEdit.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
GameConfigHighlighter.cpp DolphinQt: Adjust panel-specific colors and syntax highlighting for dark theme. 2023-08-12 19:43:12 +02:00
GameConfigHighlighter.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
GameConfigWidget.cpp DolphinQt: Remove unnecessary qOverloads 2023-11-04 14:14:14 -07:00
GameConfigWidget.h Qt/GameConfigWidget: Add Manual Texture Sampling 2023-07-25 00:45:13 +02:00
GamecubeControllersWidget.cpp DolphinQt: Remove unnecessary qOverloads 2023-11-04 14:14:14 -07:00
GamecubeControllersWidget.h Qt/GamecubeControllersWidget: Disable dropdowns during netplay. 2022-10-02 23:10:43 +02:00
GeckoCodeWidget.cpp Disable cheats in hardcore mode 2023-12-02 16:41:17 -05:00
GeckoCodeWidget.h Disable cheats in hardcore mode 2023-12-02 16:41:17 -05:00
GraphicsModListWidget.cpp GraphicsModListWidget: Pass optional by const reference 2024-01-31 12:09:35 -05:00
GraphicsModListWidget.h GraphicsModListWidget: Pass optional by const reference 2024-01-31 12:09:35 -05:00
GraphicsModWarningWidget.cpp DolphinQt: add warning if graphics mods are not enabled 2022-06-27 18:28:28 -05:00
GraphicsModWarningWidget.h DolphinQt: add warning if graphics mods are not enabled 2022-06-27 18:28:28 -05:00
HardcoreWarningWidget.cpp Added Hardcore Warning Widget 2023-12-02 16:41:15 -05:00
HardcoreWarningWidget.h Added Hardcore Warning Widget 2023-12-02 16:41:15 -05:00
InfoWidget.cpp DolphinQt: Remove unnecessary qOverloads 2023-11-04 14:14:14 -07:00
InfoWidget.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
LogConfigWidget.cpp DolphinQt: Fix leak in LogConfigWidget 2023-04-04 16:05:23 -04:00
LogConfigWidget.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
LogWidget.cpp DolphinQt: Remove unnecessary qOverloads 2023-11-04 14:14:14 -07:00
LogWidget.h Common: Move FixedSizeQueue into Common namespace 2023-03-22 01:23:15 -04:00
NewPatchDialog.cpp DolphinQt: Remove unnecessary qOverloads 2023-11-04 14:14:14 -07:00
NewPatchDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
PatchesWidget.cpp Disable memory patches in hardcore mode 2023-12-02 16:41:16 -05:00
PatchesWidget.h Disable memory patches in hardcore mode 2023-12-02 16:41:16 -05:00
PropertiesDialog.cpp Disable cheats in hardcore mode 2023-12-02 16:41:17 -05:00
PropertiesDialog.h Disable memory patches in hardcore mode 2023-12-02 16:41:16 -05:00
SettingsWindow.cpp Treewide: Adjust order of includes 2021-12-10 14:49:57 -08:00
SettingsWindow.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
VerifyWidget.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
VerifyWidget.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
WiimoteControllersWidget.cpp Migrate SConfig::bWii to System. 2024-01-31 12:54:07 +01:00
WiimoteControllersWidget.h Qt/WiimoteControllersWidget: Add bluetooth unavailable message 2023-02-24 14:30:43 -08:00