dolphin/Source/Android/jni/Input
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
..
Control.cpp Android: Add new input mapping implementation 2023-03-03 22:28:24 +01:00
Control.h Android: Add new input mapping implementation 2023-03-03 22:28:24 +01:00
ControlGroup.cpp Android: Implement enabling/disabling control groups 2023-03-03 22:28:24 +01:00
ControlGroup.h Android: Add new input mapping implementation 2023-03-03 22:28:24 +01:00
ControlReference.cpp Android: Add the advanced input mapping dialog 2023-03-07 17:39:30 +01:00
ControlReference.h Android: Add new input mapping implementation 2023-03-03 22:28:24 +01:00
CoreDevice.cpp Android: Add the advanced input mapping dialog 2023-03-07 17:39:30 +01:00
CoreDevice.h Android: Add the advanced input mapping dialog 2023-03-07 17:39:30 +01:00
EmulatedController.cpp InputCommon: Unify GetProfileName and GetProfileDirectoryName 2024-02-04 17:55:08 +01:00
EmulatedController.h Android: Add input device selection 2023-03-03 22:28:24 +01:00
InputOverrider.cpp
MappingCommon.cpp Android: Add the advanced input mapping dialog 2023-03-07 17:39:30 +01:00
NumericSetting.cpp Android: Add extension selection 2023-03-03 22:28:24 +01:00
NumericSetting.h Android: Add NumericSetting support 2023-03-03 22:28:24 +01:00