dolphin/Source/Core/DolphinQt
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
..
Achievements Core/Movie: Refactor to class, move to System. 2024-01-15 08:05:30 +01:00
Config InputCommon: Unify GetProfileName and GetProfileDirectoryName 2024-02-04 17:55:08 +01:00
Debugger GekkoSyntaxHighlight: Collapse cases for builtin color formats 2024-01-23 18:39:59 -05:00
FIFO FifoRecorder: Move instance to System. 2024-01-12 15:06:06 +01:00
GameList Migrate SConfig::bWii to System. 2024-01-31 12:54:07 +01:00
InfinityBase DolphinQt: Remove unnecessary qOverloads 2023-11-04 14:14:14 -07:00
NetPlay Merge pull request #11382 from skyfloogle/traversal-fix-2 2023-11-30 18:03:50 -05:00
QtUtils DolphinQt: Check theme instead of system for when to apply dark title bars on Windows. 2023-11-05 18:13:00 +01:00
Settings Core/SystemTimers: Refactor to class, move to System. 2024-01-04 23:35:19 +01:00
SkylanderPortal SkylanderModifyDialog: Remove unnecessary string conversions 2023-11-25 22:29:44 -05:00
Styles/Dark Dark style: add QTableCornerButton. Fix padding for tables. 2023-11-04 15:00:07 -07:00
TAS Core/Movie: Refactor to class, move to System. 2024-01-15 08:05:30 +01:00
AboutDialog.cpp DolphinQt: cache icons instead of single pixmaps 2023-04-25 12:34:27 -07:00
AboutDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CheatSearchFactoryWidget.cpp Migrate SConfig::bWii to System. 2024-01-31 12:54:07 +01:00
CheatSearchFactoryWidget.h DolphinQt: Rewrite cheat search GUI. 2021-09-15 19:05:49 +02:00
CheatSearchWidget.cpp CheatSearchWidget: Make use of CPUThreadGuard parameter in UpdateTableRows 2023-12-12 16:41:00 -05:00
CheatSearchWidget.h CheatSearchWidget: Add checkbox to toggle Current Value autoupdate 2023-10-31 17:35:14 -07:00
CheatsManager.cpp Disable cheats in hardcore mode 2023-12-02 16:41:17 -05:00
CheatsManager.h Disable cheats in hardcore mode 2023-12-02 16:41:17 -05:00
CMakeLists.txt Merge pull request #11497 from vyuuui/debugger_assembler_ui 2023-12-16 21:15:31 +00:00
ConvertDialog.cpp DolphinQt: Remove unnecessary qOverloads 2023-11-04 14:14:14 -07:00
ConvertDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DiscordHandler.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
DiscordHandler.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DiscordJoinRequestDialog.cpp Remove most uses of StringFromFormat in favor of fmt 2022-10-12 16:50:47 -07:00
DiscordJoinRequestDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DolphinEmu.entitlements DolphinQt: Add com.apple.security.cs.allow-dyld-environment-variables to entitlements 2022-05-18 20:23:17 -04:00
DolphinEmuDebug.entitlements DolphinQt: Add com.apple.security.cs.allow-dyld-environment-variables to entitlements 2022-05-18 20:23:17 -04:00
DolphinQt.manifest DolphinQt: dont set dpi awareness in manifest 2023-04-25 10:49:46 -07:00
DolphinQt.rc
DolphinQt.vcxproj Merge pull request #11497 from vyuuui/debugger_assembler_ui 2023-12-16 21:15:31 +00:00
DolphinQt.vcxproj.user msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
GBAHost.cpp Qt/Core: Refactor GBA Core accessors 2021-07-24 14:54:57 +02:00
GBAHost.h Qt: Implement GBA host and widget 2021-07-13 16:43:28 +02:00
GBAWidget.cpp Core/Movie: Refactor to class, move to System. 2024-01-15 08:05:30 +01:00
GBAWidget.h GBAWidget: Add missing override specifiers 2023-12-13 10:12:18 -05:00
GCMemcardCreateNewDialog.cpp Add wrapper function to disable hotkeys for QFileDialog 2021-10-09 22:43:56 -04:00
GCMemcardCreateNewDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
GCMemcardManager.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
GCMemcardManager.h GCMemcardManager: Shorten-up EnumMap definitions 2023-06-08 13:05:13 -04:00
Host.cpp VideoCommon/Fifo: Pass system instance through FifoManager constructor 2023-12-18 22:03:25 -05:00
Host.h DolphinQT/Host: Remove unimplemented prototypes 2023-12-11 17:30:56 -05:00
HotkeyScheduler.cpp Migrate SConfig::bWii to System. 2024-01-31 12:54:07 +01:00
HotkeyScheduler.h Add Hotkeys for Skylanders Portal and Infinity Base Menus 2023-05-26 13:36:08 -07:00
Info.plist.in Set LSApplicationCategoryType to games 2023-01-10 11:34:42 +00:00
Main.cpp DolphinQt/Settings: Split setting of the user style into two functions. 2023-11-05 12:58:11 +01:00
MainWindow.cpp Migrate SConfig::bWii to System. 2024-01-31 12:54:07 +01:00
MainWindow.h Merge pull request #11497 from vyuuui/debugger_assembler_ui 2023-12-16 21:15:31 +00:00
MenuBar.cpp Core/ConfigManager: Remove dead bAutomaticStart flag. 2024-01-31 22:53:43 +01:00
MenuBar.h Core/ConfigManager: Remove dead bAutomaticStart flag. 2024-01-31 22:53:43 +01:00
NANDRepairDialog.cpp Qt: Make custom dialog for NAND Repair. 2022-08-28 03:11:17 +02:00
NANDRepairDialog.h Qt: Make custom dialog for NAND Repair. 2022-08-28 03:11:17 +02:00
NKitWarningDialog.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
NKitWarningDialog.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
pch_qt.cpp msbuild: add pch for dolphinqt 2022-06-21 13:35:14 -07:00
pch_qt.h msbuild: add pch for dolphinqt 2022-06-21 13:35:14 -07:00
qt6.natvis Add support for building against Qt 6 2022-05-02 22:39:33 -07:00
qt.conf
qt.conf.win
RenderWidget.cpp DolphinQt/RenderWidget: Add comments for SetCursorLocked() on Linux. 2024-01-30 01:06:30 +01:00
RenderWidget.h Qt: Send SizeChanged on DPI changes 2023-06-11 20:05:27 -05:00
resource.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
ResourcePackManager.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
ResourcePackManager.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Resources.cpp DolphinQt: cache icons instead of single pixmaps 2023-04-25 12:34:27 -07:00
Resources.h DolphinQt: cache icons instead of single pixmaps 2023-04-25 12:34:27 -07:00
RiivolutionBootWidget.cpp Disable memory patches in hardcore mode 2023-12-02 16:41:16 -05:00
RiivolutionBootWidget.h Disable memory patches in hardcore mode 2023-12-02 16:41:16 -05:00
SearchBar.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
SearchBar.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Settings.cpp Merge pull request #11497 from vyuuui/debugger_assembler_ui 2023-12-16 21:15:31 +00:00
Settings.h Parser and Assembler implementations 2023-12-13 05:32:20 -08:00
ToolBar.cpp DolphinQt: cache icons instead of single pixmaps 2023-04-25 12:34:27 -07:00
ToolBar.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Translation.cpp Remove most uses of StringFromFormat in favor of fmt 2022-10-12 16:50:47 -07:00
Translation.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Updater.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
Updater.h Qt/Updater: Remove unused member variable. 2022-11-15 00:56:08 +01:00
WiiUpdate.cpp DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
WiiUpdate.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00