| 1 | // Copyright 2017 Dolphin Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | |
| 4 | #include "InputCommon/ControllerEmu/Control/Input.h" |
| 5 | |
| 6 | #include <memory> |
| 7 | #include <string> |
| 8 | #include "InputCommon/ControlReference/ControlReference.h" |
| 9 | |
| 10 | namespace ControllerEmu |
| 11 | { |
| 12 | Input::Input(Translatability translate_, std::string name_, std::string ui_name_) |
| 13 | : Control(std::make_unique<InputReference>(), translate_, std::move(name_), std::move(ui_name_)) |
| 14 | { |
| 15 | } |
| 16 | |
| 17 | Input::Input(Translatability translate_, std::string name_) |
| 18 | : Control(std::make_unique<InputReference>(), translate_, std::move(name_)) |
| 19 | { |
| 20 | } |
| 21 | } // namespace ControllerEmu |