dolphin/Source/Android/jni
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
..
AndroidCommon AndroidCommon: Resolve -Wsign-compare warning 2023-12-11 18:06:40 -05:00
Cheats Common/IniFile: Move interface into Common namespace 2023-04-13 10:19:28 -04:00
Config Android: Expose config changed callbacks 2023-12-07 21:09:17 +01:00
GameList Android: Use JNI for setting/getting ISO paths 2023-09-02 12:58:20 +02:00
Input InputCommon: Unify GetProfileName and GetProfileDirectoryName 2024-02-04 17:55:08 +01:00
CMakeLists.txt Android: Expose config changed callbacks 2023-12-07 21:09:17 +01:00
GpuDriver.cpp Android: Remove a stray backtick 2023-10-01 13:37:04 +02:00
Host.cpp Android: Move host thread lock to a separate file 2023-06-12 23:39:42 +02:00
Host.h Android: And Lock and Unlock wrappers to HostThreadLock 2023-06-12 23:39:42 +02:00
InfinityConfig.cpp Android: Add Hashmap to IDCache 2023-05-28 19:01:21 +12:00
MainAndroid.cpp Migrate SConfig::bWii to System. 2024-01-31 12:54:07 +01:00
RiivolutionPatches.cpp Android: Add Riivolution patch configuration 2021-10-30 23:24:37 +02:00
SkylanderConfig.cpp Skylanders: Improve figure data view and generation 2023-11-05 18:06:10 +01:00
WiiUtils.cpp IOS/ES: Split ESDevice into ESCore and ESDevice. 2023-05-15 20:41:05 +02:00