citra_qt/configuration: misc input tab improvements

* Added a context menu on the buttons including Clear & Restore Default

* Allow clearing (unsetting) inputs. Added a Clear All button

* Allow restoring a single input to default (instead of all)
This commit is contained in:
zhupengfei
2018-10-06 15:43:49 +02:00
committed by fearlessTobi
parent 6cc7656e81
commit 690f326613
5 changed files with 119 additions and 19 deletions
+3
View File
@@ -72,6 +72,9 @@ private:
void loadConfiguration();
/// Restore all buttons to their default values.
void restoreDefaults();
/// Clear all input configuration
void ClearAll();
/// Update UI to reflect current configuration.
void updateButtonLabels();