summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/configure_input.cpp
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-01-21 10:53:03 +0100
committerwwylele <wwylele@gmail.com>2017-03-01 22:30:57 +0100
commit38e800f70d122051e12ac9f22e23d84b97fec424 (patch)
tree0f52b5731a4fd8e9f2a39e8e75d1fa18ce8b9107 /src/citra_qt/configure_input.cpp
parentHID: use AnalogDevice (diff)
downloadyuzu-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.cpp9
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) {