diff options
author | wwylele <wwylele@gmail.com> | 2017-01-21 10:53:03 +0100 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-03-01 22:30:57 +0100 |
commit | 38e800f70d122051e12ac9f22e23d84b97fec424 (patch) | |
tree | 0f52b5731a4fd8e9f2a39e8e75d1fa18ce8b9107 /src/citra_qt/configure_input.cpp | |
parent | HID: use AnalogDevice (diff) | |
download | yuzu-38e800f70d122051e12ac9f22e23d84b97fec424.tar yuzu-38e800f70d122051e12ac9f22e23d84b97fec424.tar.gz yuzu-38e800f70d122051e12ac9f22e23d84b97fec424.tar.bz2 yuzu-38e800f70d122051e12ac9f22e23d84b97fec424.tar.lz yuzu-38e800f70d122051e12ac9f22e23d84b97fec424.tar.xz yuzu-38e800f70d122051e12ac9f22e23d84b97fec424.tar.zst yuzu-38e800f70d122051e12ac9f22e23d84b97fec424.zip |
Diffstat (limited to 'src/citra_qt/configure_input.cpp')
-rw-r--r-- | src/citra_qt/configure_input.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/citra_qt/configure_input.cpp b/src/citra_qt/configure_input.cpp index c29652f32..8846a68b2 100644 --- a/src/citra_qt/configure_input.cpp +++ b/src/citra_qt/configure_input.cpp @@ -92,14 +92,7 @@ void ConfigureInput::loadConfiguration() { updateButtonLabels(); } -void ConfigureInput::restoreDefaults() { - for (const auto& input_id : Settings::NativeInput::All) { - const size_t index = static_cast<size_t>(input_id); - key_map[input_id] = static_cast<Qt::Key>(Config::defaults[index].toInt()); - } - updateButtonLabels(); - applyConfiguration(); -} +void ConfigureInput::restoreDefaults() {} void ConfigureInput::updateButtonLabels() { for (const auto& input_id : Settings::NativeInput::All) { |