diff options
author | Lioncash <mathew1800@gmail.com> | 2021-01-14 04:37:37 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-01-14 04:37:40 +0100 |
commit | 45aee996c191afe377dffbe88612f5912b2e8cfb (patch) | |
tree | 30fe845a73cf24eec4a31d788839726d58924e2a /src | |
parent | Merge pull request #5330 from german77/regexerror (diff) | |
download | yuzu-45aee996c191afe377dffbe88612f5912b2e8cfb.tar yuzu-45aee996c191afe377dffbe88612f5912b2e8cfb.tar.gz yuzu-45aee996c191afe377dffbe88612f5912b2e8cfb.tar.bz2 yuzu-45aee996c191afe377dffbe88612f5912b2e8cfb.tar.lz yuzu-45aee996c191afe377dffbe88612f5912b2e8cfb.tar.xz yuzu-45aee996c191afe377dffbe88612f5912b2e8cfb.tar.zst yuzu-45aee996c191afe377dffbe88612f5912b2e8cfb.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/configuration/configure_motion_touch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_motion_touch.cpp b/src/yuzu/configuration/configure_motion_touch.cpp index 9543f086d..68110c195 100644 --- a/src/yuzu/configuration/configure_motion_touch.cpp +++ b/src/yuzu/configuration/configure_motion_touch.cpp @@ -328,14 +328,13 @@ void ConfigureMotionTouch::ApplyConfiguration() { std::string touch_engine = ui->touch_provider->currentData().toString().toStdString(); Common::ParamPackage touch_param{}; - touch_param.Set("engine", std::move(touch_engine)); - if (touch_engine == "cemuhookudp") { touch_param.Set("min_x", min_x); touch_param.Set("min_y", min_y); touch_param.Set("max_x", max_x); touch_param.Set("max_y", max_y); } + touch_param.Set("engine", std::move(touch_engine)); Settings::values.touch_device = touch_param.Serialize(); Settings::values.use_touch_from_button = ui->touch_from_button_checkbox->isChecked(); |