mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-12 15:38:59 +01:00
26 lines
446 B
C
26 lines
446 B
C
![]() |
// Copyright 2017 Dolphin Emulator Project
|
||
|
// Licensed under GPLv2+
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <memory>
|
||
|
#include <string>
|
||
|
|
||
|
class ControlReference;
|
||
|
|
||
|
namespace ControllerEmu
|
||
|
{
|
||
|
class Control
|
||
|
{
|
||
|
public:
|
||
|
virtual ~Control();
|
||
|
|
||
|
std::unique_ptr<ControlReference> const control_ref;
|
||
|
const std::string name;
|
||
|
|
||
|
protected:
|
||
|
Control(ControlReference* ref, const std::string& name);
|
||
|
};
|
||
|
} // namespace ControllerEmu
|