Qt: Implement advanced mapping I/O windows

This commit is contained in:
spycrab
2017-06-13 17:16:41 +02:00
parent 03c1a1e392
commit 50c13c1902
12 changed files with 523 additions and 74 deletions

View File

@ -0,0 +1,27 @@
// 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& m_devq,
const ciface::Core::DeviceQualifier& default_device);
}