2017-02-08 22:15:43 -05:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "InputCommon/ControllerEmu/Control/Input.h"
|
|
|
|
|
2017-02-10 19:31:21 -05:00
|
|
|
#include <memory>
|
2017-02-08 22:15:43 -05:00
|
|
|
#include <string>
|
|
|
|
#include "InputCommon/ControlReference/ControlReference.h"
|
|
|
|
|
|
|
|
namespace ControllerEmu
|
|
|
|
{
|
2017-04-30 14:53:33 +02:00
|
|
|
Input::Input(const std::string& name_, const std::string& ui_name_)
|
|
|
|
: Control(std::make_unique<InputReference>(), name_, ui_name_)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-02-10 19:31:21 -05:00
|
|
|
Input::Input(const std::string& name_) : Control(std::make_unique<InputReference>(), name_)
|
2017-02-08 22:15:43 -05:00
|
|
|
{
|
|
|
|
}
|
|
|
|
} // namespace ControllerEmu
|