summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-09-28 23:07:12 +0200
committerGitHub <noreply@github.com>2021-09-28 23:07:12 +0200
commitfba301155bcc99b58e54450cd3be359d7e535a2b (patch)
treedebc9b9d13ec4d0930616865e9823f91e833e9d8 /src
parentMerge pull request #7076 from ameerj/amd-botw (diff)
parentIf not on Windows, disable raw input (diff)
downloadyuzu-fba301155bcc99b58e54450cd3be359d7e535a2b.tar
yuzu-fba301155bcc99b58e54450cd3be359d7e535a2b.tar.gz
yuzu-fba301155bcc99b58e54450cd3be359d7e535a2b.tar.bz2
yuzu-fba301155bcc99b58e54450cd3be359d7e535a2b.tar.lz
yuzu-fba301155bcc99b58e54450cd3be359d7e535a2b.tar.xz
yuzu-fba301155bcc99b58e54450cd3be359d7e535a2b.tar.zst
yuzu-fba301155bcc99b58e54450cd3be359d7e535a2b.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/config.cpp4
-rw-r--r--src/yuzu/configuration/configure_input_advanced.cpp4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index 27b67fd9e..b5796a8fc 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -562,7 +562,11 @@ void Config::ReadControlValues() {
ReadTouchscreenValues();
ReadMotionTouchValues();
+#ifdef _WIN32
ReadBasicSetting(Settings::values.enable_raw_input);
+#else
+ Settings::values.enable_raw_input = false;
+#endif
ReadBasicSetting(Settings::values.emulate_analog_keyboard);
Settings::values.mouse_panning = false;
ReadBasicSetting(Settings::values.mouse_panning_sensitivity);
diff --git a/src/yuzu/configuration/configure_input_advanced.cpp b/src/yuzu/configuration/configure_input_advanced.cpp
index d20fd86b6..b30f09013 100644
--- a/src/yuzu/configuration/configure_input_advanced.cpp
+++ b/src/yuzu/configuration/configure_input_advanced.cpp
@@ -88,6 +88,10 @@ ConfigureInputAdvanced::ConfigureInputAdvanced(QWidget* parent)
connect(ui->buttonMotionTouch, &QPushButton::clicked, this,
&ConfigureInputAdvanced::CallMotionTouchConfigDialog);
+#ifndef _WIN32
+ ui->enable_raw_input->setVisible(false);
+#endif
+
LoadConfiguration();
}