diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2018-05-26 17:19:13 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2018-07-07 13:02:39 -0500 |
| commit | bce8041cce88926adf68c7b35b4e79d72420bb36 (patch) | |
| tree | 958a7aab549b6880769aa6ef354fad7b8632051a /Source/Core/InputCommon/InputProfile.h | |
| parent | 3b11066e6168a4c266ab30dd2805f8148c00f1a1 (diff) | |
Input: Allow per-game configuration to specify directories for input-profiles. If specified, the directories are searched recursively for inis
Diffstat (limited to 'Source/Core/InputCommon/InputProfile.h')
| -rw-r--r-- | Source/Core/InputCommon/InputProfile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/InputProfile.h b/Source/Core/InputCommon/InputProfile.h index 503f2bafcc..ccb4fbf4db 100644 --- a/Source/Core/InputCommon/InputProfile.h +++ b/Source/Core/InputCommon/InputProfile.h @@ -16,6 +16,9 @@ class EmulatedController; namespace InputProfile { +std::vector<std::string> GetProfilesFromSetting(const std::string& setting, + const std::string& root); + enum class CycleDirection : int { Forward = 1, @@ -36,8 +39,6 @@ private: void CycleProfileForGame(CycleDirection cycle_direction, InputConfig* device_configuration, int& profile_index, const std::string& setting, int controller_index); std::vector<std::string> GetProfilesForDevice(InputConfig* device_configuration); - std::vector<std::string> GetProfilesFromSetting(const std::string& setting, - InputConfig* device_configuration); std::string GetProfile(CycleDirection cycle_direction, int& profile_index, const std::vector<std::string>& profiles); std::vector<std::string> GetMatchingProfilesFromSetting(const std::string& setting, |
