Merge pull request #6816 from lat9nq/fix-mult-contrl
config: Read connected setting for controllers
This commit is contained in:
commit
edb9c72e26
|
@ -278,6 +278,9 @@ void Config::ReadValues() {
|
||||||
if (Settings::values.players.GetValue()[p].analogs[i].empty())
|
if (Settings::values.players.GetValue()[p].analogs[i].empty())
|
||||||
Settings::values.players.GetValue()[p].analogs[i] = default_param;
|
Settings::values.players.GetValue()[p].analogs[i] = default_param;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Settings::values.players.GetValue()[p].connected =
|
||||||
|
sdl2_config->GetBoolean(group, "connected", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReadSetting("ControlsGeneral", Settings::values.mouse_enabled);
|
ReadSetting("ControlsGeneral", Settings::values.mouse_enabled);
|
||||||
|
|
Loading…
Reference in New Issue