mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-11 05:03:14 +00:00
Remapping: Documentation and defaults update + add option to use a unified config (#2302)
* Add a toggle to use unified or per-game configs, and add a deadzone example to the default config * Add a checkbox to toggle config type * clang
This commit is contained in:
parent
c4bfaa6031
commit
9aa6c5b951
5 changed files with 36 additions and 6 deletions
|
@ -198,11 +198,8 @@ InputBinding GetBindingFromString(std::string& line) {
|
|||
}
|
||||
|
||||
void ParseInputConfig(const std::string game_id = "") {
|
||||
const auto config_file = Config::GetFoolproofKbmConfigFile(game_id);
|
||||
|
||||
if (game_id == "") {
|
||||
return;
|
||||
}
|
||||
std::string config_type = Config::GetUseUnifiedInputConfig() ? "default" : game_id;
|
||||
const auto config_file = Config::GetFoolproofKbmConfigFile(config_type);
|
||||
|
||||
// we reset these here so in case the user fucks up or doesn't include some of these,
|
||||
// we can fall back to default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue