diff options
| author | 2021-11-03 22:35:45 -0600 | |
|---|---|---|
| committer | 2021-11-24 20:30:27 -0600 | |
| commit | 84c58666a4dbb6d46e132514e4d91437fb689fa0 (patch) | |
| tree | 4d6196522922374c927f9139bd22c28ea8cad279 /src/yuzu_cmd/config.cpp | |
| parent | input_common: Fix motion from 3 axis (diff) | |
| download | yuzu-84c58666a4dbb6d46e132514e4d91437fb689fa0.tar.gz yuzu-84c58666a4dbb6d46e132514e4d91437fb689fa0.tar.xz yuzu-84c58666a4dbb6d46e132514e4d91437fb689fa0.zip | |
config: Cleanup and documentation
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 103a12b12..7ca09a635 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -292,8 +292,6 @@ void Config::ReadValues() { | |||
| 292 | Settings::values.mouse_buttons[i] = default_param; | 292 | Settings::values.mouse_buttons[i] = default_param; |
| 293 | } | 293 | } |
| 294 | 294 | ||
| 295 | ReadSetting("ControlsGeneral", Settings::values.motion_device); | ||
| 296 | |||
| 297 | ReadSetting("ControlsGeneral", Settings::values.touch_device); | 295 | ReadSetting("ControlsGeneral", Settings::values.touch_device); |
| 298 | 296 | ||
| 299 | ReadSetting("ControlsGeneral", Settings::values.keyboard_enabled); | 297 | ReadSetting("ControlsGeneral", Settings::values.keyboard_enabled); |
| @@ -362,7 +360,6 @@ void Config::ReadValues() { | |||
| 362 | Settings::TouchFromButtonMap{"default", {}}); | 360 | Settings::TouchFromButtonMap{"default", {}}); |
| 363 | num_touch_from_button_maps = 1; | 361 | num_touch_from_button_maps = 1; |
| 364 | } | 362 | } |
| 365 | ReadSetting("ControlsGeneral", Settings::values.use_touch_from_button); | ||
| 366 | Settings::values.touch_from_button_map_index = std::clamp( | 363 | Settings::values.touch_from_button_map_index = std::clamp( |
| 367 | Settings::values.touch_from_button_map_index.GetValue(), 0, num_touch_from_button_maps - 1); | 364 | Settings::values.touch_from_button_map_index.GetValue(), 0, num_touch_from_button_maps - 1); |
| 368 | 365 | ||