summaryrefslogtreecommitdiffstats
path: root/src/citra_qt
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-08-09 01:57:42 +0200
committerwwylele <wwylele@gmail.com>2017-08-24 14:00:56 +0200
commit2617de1fe6f6f1fc846a8e038e1ea77a894554b2 (patch)
tree08c5cc339ed43241359c1e0b6d7331ca69408eb4 /src/citra_qt
parentHID: use TouchDevice for touch pad (diff)
downloadyuzu-2617de1fe6f6f1fc846a8e038e1ea77a894554b2.tar
yuzu-2617de1fe6f6f1fc846a8e038e1ea77a894554b2.tar.gz
yuzu-2617de1fe6f6f1fc846a8e038e1ea77a894554b2.tar.bz2
yuzu-2617de1fe6f6f1fc846a8e038e1ea77a894554b2.tar.lz
yuzu-2617de1fe6f6f1fc846a8e038e1ea77a894554b2.tar.xz
yuzu-2617de1fe6f6f1fc846a8e038e1ea77a894554b2.tar.zst
yuzu-2617de1fe6f6f1fc846a8e038e1ea77a894554b2.zip
Diffstat (limited to 'src/citra_qt')
-rw-r--r--src/citra_qt/configuration/config.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp
index 6e42db007..e398c6f29 100644
--- a/src/citra_qt/configuration/config.cpp
+++ b/src/citra_qt/configuration/config.cpp
@@ -61,6 +61,8 @@ void Config::ReadValues() {
qt_config->value("motion_device", "engine:motion_emu,update_period:100,sensitivity:0.01")
.toString()
.toStdString();
+ Settings::values.touch_device =
+ qt_config->value("touch_device", "engine:emu_window").toString().toStdString();
qt_config->endGroup();
@@ -209,6 +211,7 @@ void Config::SaveValues() {
QString::fromStdString(Settings::values.analogs[i]));
}
qt_config->setValue("motion_device", QString::fromStdString(Settings::values.motion_device));
+ qt_config->setValue("touch_device", QString::fromStdString(Settings::values.touch_device));
qt_config->endGroup();
qt_config->beginGroup("Core");