diff options
author | wwylele <wwylele@gmail.com> | 2017-08-06 23:04:06 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-08-11 10:05:08 +0200 |
commit | 188194908c2785bd1e03485941b9148777cdddd7 (patch) | |
tree | ab6cd04195f5e18bd1e7dd21a7c2896066827a6f /src/citra_qt/configuration | |
parent | HID: use MotionDevice for Accelerometer and Gyroscope (diff) | |
download | yuzu-188194908c2785bd1e03485941b9148777cdddd7.tar yuzu-188194908c2785bd1e03485941b9148777cdddd7.tar.gz yuzu-188194908c2785bd1e03485941b9148777cdddd7.tar.bz2 yuzu-188194908c2785bd1e03485941b9148777cdddd7.tar.lz yuzu-188194908c2785bd1e03485941b9148777cdddd7.tar.xz yuzu-188194908c2785bd1e03485941b9148777cdddd7.tar.zst yuzu-188194908c2785bd1e03485941b9148777cdddd7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/configuration/config.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp index 75abb4ce6..6e42db007 100644 --- a/src/citra_qt/configuration/config.cpp +++ b/src/citra_qt/configuration/config.cpp @@ -57,6 +57,11 @@ void Config::ReadValues() { Settings::values.analogs[i] = default_param; } + Settings::values.motion_device = + qt_config->value("motion_device", "engine:motion_emu,update_period:100,sensitivity:0.01") + .toString() + .toStdString(); + qt_config->endGroup(); qt_config->beginGroup("Core"); @@ -203,6 +208,7 @@ void Config::SaveValues() { qt_config->setValue(QString::fromStdString(Settings::NativeAnalog::mapping[i]), QString::fromStdString(Settings::values.analogs[i])); } + qt_config->setValue("motion_device", QString::fromStdString(Settings::values.motion_device)); qt_config->endGroup(); qt_config->beginGroup("Core"); |