2019-08-17 19:40:58 +00:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2019-08-17 19:40:58 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Common/IniFile.h"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace InputCommon
|
|
|
|
{
|
2021-02-15 02:47:00 +00:00
|
|
|
namespace DynamicInputTextures
|
|
|
|
{
|
|
|
|
class Configuration;
|
|
|
|
}
|
2019-08-17 19:40:58 +00:00
|
|
|
class DynamicInputTextureManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DynamicInputTextureManager();
|
|
|
|
~DynamicInputTextureManager();
|
|
|
|
void Load();
|
2023-04-13 13:38:09 +00:00
|
|
|
void GenerateTextures(const Common::IniFile& file,
|
|
|
|
const std::vector<std::string>& controller_names);
|
2019-08-17 19:40:58 +00:00
|
|
|
|
|
|
|
private:
|
2021-02-15 02:47:00 +00:00
|
|
|
std::vector<DynamicInputTextures::Configuration> m_configuration;
|
2019-08-17 19:40:58 +00:00
|
|
|
std::string m_config_type;
|
|
|
|
};
|
|
|
|
} // namespace InputCommon
|