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
|
|
|
|
{
|
2018-04-10 15:22:30 +00:00
|
|
|
Input::Input(Translatability translate_, const std::string& name_, const std::string& ui_name_)
|
2018-03-30 19:42:26 +00:00
|
|
|
: Control(std::make_unique<InputReference>(), translate_, name_, ui_name_)
|
2017-04-30 12:53:33 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2018-04-10 15:22:30 +00:00
|
|
|
Input::Input(Translatability translate_, const std::string& name_)
|
2018-03-30 19:42:26 +00:00
|
|
|
: Control(std::make_unique<InputReference>(), translate_, name_)
|
2017-02-09 03:15:43 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
} // namespace ControllerEmu
|