From 6d7dc70f663891ef39dcfb8ba8e5ff643b4d9ed8 Mon Sep 17 00:00:00 2001 From: "Cascade aka. Isoheptane" <38118922+Isoheptane@users.noreply.github.com> Date: Thu, 28 Sep 2023 02:49:30 +0800 Subject: input: Add map to region options for tablets (#3425) * Add region remap for tablets * Fix code style --- src/config/ConfigManager.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config/ConfigManager.hpp') 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&); -- cgit v1.2.3