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/Control.h"
|
2017-02-11 00:31:21 +00:00
|
|
|
|
|
|
|
#include <utility>
|
2017-02-09 03:15:43 +00:00
|
|
|
#include "InputCommon/ControlReference/ControlReference.h"
|
|
|
|
|
|
|
|
namespace ControllerEmu
|
|
|
|
{
|
2017-02-11 00:31:21 +00:00
|
|
|
Control::Control(std::unique_ptr<ControlReference> ref, const std::string& name_)
|
|
|
|
: control_ref(std::move(ref)), name(name_)
|
2017-02-09 03:15:43 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
Control::~Control() = default;
|
|
|
|
} // namespace ControllerEmu
|