summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/MappingCommon.h
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-01-29 02:02:46 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2025-02-01 01:54:10 -0600
commit6e7e808b6614f98674dba7290bea2ea044c4d5d2 (patch)
tree1057bab0dbecfea831f2532f0756de8695851e9d /Source/Core/InputCommon/ControllerInterface/MappingCommon.h
parentcd3993708f25ecbfb62eea9cdd8279bc002a01d1 (diff)
DolphinQt/Mapping: Add setting to enable waiting for alternate mappings
using the OR-operator.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/MappingCommon.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/MappingCommon.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/MappingCommon.h b/Source/Core/InputCommon/ControllerInterface/MappingCommon.h
index 1822125557..f58813a50c 100644
--- a/Source/Core/InputCommon/ControllerInterface/MappingCommon.h
+++ b/Source/Core/InputCommon/ControllerInterface/MappingCommon.h
@@ -17,13 +17,16 @@ enum class Quote
};
std::string GetExpressionForControl(const std::string& control_name,
- const ciface::Core::DeviceQualifier& control_device,
- const ciface::Core::DeviceQualifier& default_device,
+ const Core::DeviceQualifier& control_device,
+ const Core::DeviceQualifier& default_device,
Quote quote = Quote::On);
-std::string BuildExpression(const std::vector<ciface::Core::DeviceContainer::InputDetection>&,
- const ciface::Core::DeviceQualifier& default_device, Quote quote);
+std::string BuildExpression(const Core::InputDetector::Results&,
+ const Core::DeviceQualifier& default_device, Quote quote);
-void RemoveSpuriousTriggerCombinations(std::vector<ciface::Core::DeviceContainer::InputDetection>*);
+void RemoveSpuriousTriggerCombinations(Core::InputDetector::Results*);
+void RemoveDetectionsAfterTimePoint(Core::InputDetector::Results*,
+ Core::DeviceContainer::Clock::time_point after);
+bool ContainsCompleteDetection(const Core::InputDetector::Results&);
} // namespace ciface::MappingCommon