summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValeri <v19930312@gmail.com>2021-09-18 14:10:00 +0200
committerGitHub <noreply@github.com>2021-09-18 14:10:00 +0200
commit738cd1896b6886da353cdbeabd19b4f75c66575c (patch)
tree60b254319ddb1d173e97a220ebc19aca36f95390
parentHide XInput bypass on non-Windows OSes (diff)
downloadyuzu-738cd1896b6886da353cdbeabd19b4f75c66575c.tar
yuzu-738cd1896b6886da353cdbeabd19b4f75c66575c.tar.gz
yuzu-738cd1896b6886da353cdbeabd19b4f75c66575c.tar.bz2
yuzu-738cd1896b6886da353cdbeabd19b4f75c66575c.tar.lz
yuzu-738cd1896b6886da353cdbeabd19b4f75c66575c.tar.xz
yuzu-738cd1896b6886da353cdbeabd19b4f75c66575c.tar.zst
yuzu-738cd1896b6886da353cdbeabd19b4f75c66575c.zip
-rw-r--r--src/yuzu/configuration/config.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index 18271dee2..1e1756c8a 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -560,7 +560,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);