diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-09-27 11:18:07 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-11-15 23:33:19 -0500 |
commit | 5cafa70d3b7f24881b578d2d473dc993fc47364b (patch) | |
tree | d3d4359be2447ae1f8fc54344c90f40305533d3a /src/yuzu/applets/controller.h | |
parent | 484623cd613b01a029a8a837ed7e2e5657d27202 (diff) |
applets/controller: Auto accept a valid single player configuration
Diffstat (limited to 'src/yuzu/applets/controller.h')
-rw-r--r-- | src/yuzu/applets/controller.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/yuzu/applets/controller.h b/src/yuzu/applets/controller.h index 729ecc831..8fefecf05 100644 --- a/src/yuzu/applets/controller.h +++ b/src/yuzu/applets/controller.h @@ -33,6 +33,8 @@ public: InputCommon::InputSubsystem* input_subsystem_); ~QtControllerSelectorDialog() override; + int exec() override; + private: // Applies the current configuration. void ApplyConfiguration(); @@ -43,9 +45,9 @@ private: // Initializes the "Configure Input" Dialog. void CallConfigureInputDialog(); - // Checks the current configuration against the given parameters and - // sets the value of parameters_met. - void CheckIfParametersMet(); + // Checks the current configuration against the given parameters. + // This sets and returns the value of parameters_met. + bool CheckIfParametersMet(); // Sets the controller icons for "Supported Controller Types". void SetSupportedControllers(); |