diff options
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() { | |||
| 92 | updateButtonLabels(); | 92 | updateButtonLabels(); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | void ConfigureInput::restoreDefaults() { | 95 | void ConfigureInput::restoreDefaults() {} |
| 96 | for (const auto& input_id : Settings::NativeInput::All) { | ||
| 97 | const size_t index = static_cast<size_t>(input_id); | ||
| 98 | key_map[input_id] = static_cast<Qt::Key>(Config::defaults[index].toInt()); | ||
| 99 | } | ||
| 100 | updateButtonLabels(); | ||
| 101 | applyConfiguration(); | ||
| 102 | } | ||
| 103 | 96 | ||
| 104 | void ConfigureInput::updateButtonLabels() { | 97 | void ConfigureInput::updateButtonLabels() { |
| 105 | for (const auto& input_id : Settings::NativeInput::All) { | 98 | for (const auto& input_id : Settings::NativeInput::All) { |