summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/config.cpp
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-05-13 17:32:43 +0200
committerwwylele <wwylele@gmail.com>2016-05-15 12:24:22 +0200
commit416faa20d1156ac4e8646710e9c1f9565c0ed14b (patch)
tree8bc07be0343eea7f028c9a6ba52fee55d5ba0f1f /src/citra_qt/config.cpp
parentRefactor input subsystem (diff)
downloadyuzu-416faa20d1156ac4e8646710e9c1f9565c0ed14b.tar
yuzu-416faa20d1156ac4e8646710e9c1f9565c0ed14b.tar.gz
yuzu-416faa20d1156ac4e8646710e9c1f9565c0ed14b.tar.bz2
yuzu-416faa20d1156ac4e8646710e9c1f9565c0ed14b.tar.lz
yuzu-416faa20d1156ac4e8646710e9c1f9565c0ed14b.tar.xz
yuzu-416faa20d1156ac4e8646710e9c1f9565c0ed14b.tar.zst
yuzu-416faa20d1156ac4e8646710e9c1f9565c0ed14b.zip
Diffstat (limited to 'src/citra_qt/config.cpp')
-rw-r--r--src/citra_qt/config.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp
index ebee8c821..539fafb6f 100644
--- a/src/citra_qt/config.cpp
+++ b/src/citra_qt/config.cpp
@@ -31,6 +31,7 @@ static const std::array<QVariant, Settings::NativeInput::NUM_INPUTS> defaults =
// indirectly mapped keys
Qt::Key_Up, Qt::Key_Down, Qt::Key_Left, Qt::Key_Right,
+ Qt::Key_D,
};
void Config::ReadValues() {
@@ -39,6 +40,7 @@ void Config::ReadValues() {
Settings::values.input_mappings[Settings::NativeInput::All[i]] =
qt_config->value(QString::fromStdString(Settings::NativeInput::Mapping[i]), defaults[i]).toInt();
}
+ Settings::values.pad_circle_modifier_scale = qt_config->value("pad_circle_modifier_scale", 0.5).toFloat();
qt_config->endGroup();
qt_config->beginGroup("Core");
@@ -128,6 +130,7 @@ void Config::SaveValues() {
qt_config->setValue(QString::fromStdString(Settings::NativeInput::Mapping[i]),
Settings::values.input_mappings[Settings::NativeInput::All[i]]);
}
+ qt_config->setValue("pad_circle_modifier_scale", (double)Settings::values.pad_circle_modifier_scale);
qt_config->endGroup();
qt_config->beginGroup("Core");