2019-08-17 13:40:58 -06:00
|
|
|
// Copyright 2019 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Common/IniFile.h"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace InputCommon
|
|
|
|
{
|
2021-02-14 19:47:00 -07:00
|
|
|
namespace DynamicInputTextures
|
|
|
|
{
|
|
|
|
class Configuration;
|
|
|
|
}
|
2019-08-17 13:40:58 -06:00
|
|
|
class DynamicInputTextureManager
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DynamicInputTextureManager();
|
|
|
|
~DynamicInputTextureManager();
|
|
|
|
void Load();
|
2021-02-27 15:41:50 -07:00
|
|
|
void GenerateTextures(const IniFile& file, const std::vector<std::string>& controller_names);
|
2019-08-17 13:40:58 -06:00
|
|
|
|
|
|
|
private:
|
2021-02-14 19:47:00 -07:00
|
|
|
std::vector<DynamicInputTextures::Configuration> m_configuration;
|
2019-08-17 13:40:58 -06:00
|
|
|
std::string m_config_type;
|
|
|
|
};
|
|
|
|
} // namespace InputCommon
|