1
0
Fork 0
forked from suyu/suyu

Merge pull request 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);