| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include <string> |
| 7 |
#include <unordered_map> |
| 8 |
#include <vector> |
| 9 |
|
| 10 |
#include "InputCommon/ImageOperations.h" |
| 11 |
|
| 12 |
namespace InputCommon::DynamicInputTextures |
| 13 |
{ |
| 14 |
struct Data |
| 15 |
{ |
| 16 |
std::string m_image_name; |
| 17 |
std::string m_hires_texture_name; |
| 18 |
std::string m_generated_folder_name; |
| 19 |
|
| 20 |
using EmulatedKeyToRegionsMap = std::unordered_map<std::string, std::vector<Rect>>; |
| 21 |
std::unordered_map<std::string, EmulatedKeyToRegionsMap> m_emulated_controllers; |
| 22 |
|
| 23 |
using HostKeyToImagePath = std::unordered_map<std::string, std::string>; |
| 24 |
std::unordered_map<std::string, HostKeyToImagePath> m_host_devices; |
| 25 |
bool m_preserve_aspect_ratio = true; |
| 26 |
}; |
| 27 |
} |