InputCommon: Use distinct values for profile key

Because the last commit made us use separate folders for GCPad and
GCKey profiles, we should also use separate game INI keys for them.
Otherwise setting e.g. PadProfile1 in a game INI will make both GCPad
and GCKey try to load it, typically with one of them succeeding and the
other one showing a panic alert due to the profile not existing in its
folder.

Better do this breaking change for GCKeys in the same PR as the other
breaking change rather than later.
This commit is contained in:
JosJuice
2024-02-04 17:36:15 +01:00
parent 6cf55ab1ee
commit 1315b54ffa
8 changed files with 11 additions and 33 deletions

View File

@ -313,7 +313,7 @@ void FreeLookController::UpdateInput(CameraControllerInput* camera_controller)
namespace FreeLook
{
static InputConfig s_config("FreeLookController", _trans("FreeLook"), "FreeLookController",
InputConfig::InputClass::GC);
"FreeLookController");
InputConfig* GetInputConfig()
{
return &s_config;