diff options
| author | 2021-08-04 17:06:39 -0400 | |
|---|---|---|
| committer | 2021-08-04 17:09:35 -0400 | |
| commit | be16d92060854bb539ed1c5d82291a235b478faf (patch) | |
| tree | 576319c010c8def9ddfc855c96dbe8e034300996 /src | |
| parent | nvdec: Implement VA-API hardware video acceleration (#6713) (diff) | |
| download | yuzu-be16d92060854bb539ed1c5d82291a235b478faf.tar.gz yuzu-be16d92060854bb539ed1c5d82291a235b478faf.tar.xz yuzu-be16d92060854bb539ed1c5d82291a235b478faf.zip | |
config: Read connected setting for controllers
Currently yuzu will read the mapping but does not connect a controller
despite adding subsequent configurations for it. Read the `connected`
setting for now as a boolean like the Qt frontend.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 064ecaafa..4f14be524 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -278,6 +278,9 @@ void Config::ReadValues() { | |||
| 278 | if (Settings::values.players.GetValue()[p].analogs[i].empty()) | 278 | if (Settings::values.players.GetValue()[p].analogs[i].empty()) |
| 279 | Settings::values.players.GetValue()[p].analogs[i] = default_param; | 279 | Settings::values.players.GetValue()[p].analogs[i] = default_param; |
| 280 | } | 280 | } |
| 281 | |||
| 282 | Settings::values.players.GetValue()[p].connected = | ||
| 283 | sdl2_config->GetBoolean(group, "connected", false); | ||
| 281 | } | 284 | } |
| 282 | 285 | ||
| 283 | ReadSetting("ControlsGeneral", Settings::values.mouse_enabled); | 286 | ReadSetting("ControlsGeneral", Settings::values.mouse_enabled); |