dolphin/Source/Core/DolphinQt2/Config/Mapping/MappingCommon.h

27 lines
667 B
C
Raw Normal View History

// Copyright 2017 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
class QString;
class ControlReference;
namespace ciface
{
namespace Core
{
class Device;
class DeviceQualifier;
}
}
namespace MappingCommon
{
QString GetExpressionForControl(const QString& control_name,
const ciface::Core::DeviceQualifier& control_device,
const ciface::Core::DeviceQualifier& default_device);
QString DetectExpression(ControlReference* reference, ciface::Core::Device* device,
const ciface::Core::DeviceQualifier& default_device);
}