diff options
| author | Cascade aka. Isoheptane <38118922+Isoheptane@users.noreply.github.com> | 2023-09-28 02:49:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-27 19:49:30 +0100 |
| commit | 6d7dc70f663891ef39dcfb8ba8e5ff643b4d9ed8 (patch) | |
| tree | fc7ec6c8dc545599ffabfc1df7ad9b734fc4a7ac /src/config/ConfigManager.hpp | |
| parent | ffacd2efd1ca7fdf364a519c9d8d8644da28412b (diff) | |
input: Add map to region options for tablets (#3425)
* Add region remap for tablets
* Fix code style
Diffstat (limited to 'src/config/ConfigManager.hpp')
| -rw-r--r-- | src/config/ConfigManager.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp index 3d545bc4..390079d3 100644 --- a/src/config/ConfigManager.hpp +++ b/src/config/ConfigManager.hpp @@ -83,13 +83,16 @@ class CConfigManager { int getInt(const std::string&); float getFloat(const std::string&); + Vector2D getVec(const std::string&); std::string getString(const std::string&); void setFloat(const std::string&, float); void setInt(const std::string&, int); + void setVec(const std::string&, Vector2D); void setString(const std::string&, const std::string&); int getDeviceInt(const std::string&, const std::string&, const std::string& fallback = ""); float getDeviceFloat(const std::string&, const std::string&, const std::string& fallback = ""); + Vector2D getDeviceVec(const std::string&, const std::string&, const std::string& fallback = ""); std::string getDeviceString(const std::string&, const std::string&, const std::string& fallback = ""); bool deviceConfigExists(const std::string&); bool shouldBlurLS(const std::string&); |
