mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
InputCommon: Clean up creation of inputs.
This commit is contained in:
@ -25,7 +25,7 @@ ModifySettingsButton::ModifySettingsButton(std::string button_name)
|
||||
|
||||
void ModifySettingsButton::AddInput(std::string button_name, bool toggle)
|
||||
{
|
||||
controls.emplace_back(std::make_unique<Input>(Translate, std::move(button_name)));
|
||||
ControlGroup::AddInput(Translate, std::move(button_name));
|
||||
threshold_exceeded.emplace_back(false);
|
||||
associated_settings.emplace_back(false);
|
||||
associated_settings_toggle.emplace_back(toggle);
|
||||
|
Reference in New Issue
Block a user