2017-02-09 03:15:43 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "InputCommon/ControllerEmu/Control/Input.h"
|
|
|
|
|
2017-02-11 00:31:21 +00:00
|
|
|
#include <memory>
|
2017-02-09 03:15:43 +00:00
|
|
|
#include <string>
|
|
|
|
#include "InputCommon/ControlReference/ControlReference.h"
|
|
|
|
|
|
|
|
namespace ControllerEmu
|
|
|
|
{
|
2019-10-27 16:04:08 +00:00
|
|
|
Input::Input(Translatability translate_, std::string name_, std::string ui_name_)
|
|
|
|
: Control(std::make_unique<InputReference>(), translate_, std::move(name_), std::move(ui_name_))
|
2017-04-30 12:53:33 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2019-10-27 16:04:08 +00:00
|
|
|
Input::Input(Translatability translate_, std::string name_)
|
|
|
|
: Control(std::make_unique<InputReference>(), translate_, std::move(name_))
|
2017-02-09 03:15:43 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
} // namespace ControllerEmu
|