Input.cpp 627 B

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