Merge pull request #6816 from lat9nq/fix-mult-contrl

config: Read connected setting for controllers
This commit is contained in:
Morph 2021-08-04 22:05:53 -04:00 committed by GitHub
commit edb9c72e26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);