summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/MappingCommon.h
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2025-02-15 12:59:23 -0500
committerGitHub <noreply@github.com>2025-02-15 12:59:23 -0500
commita8fae9b82683dd0ea766cb8c282b414707962255 (patch)
tree6ab551bcd3d7ef3459f369bf45206577c60d5231 /Source/Core/InputCommon/ControllerInterface/MappingCommon.h
parentc360ea0d9d5caaa0d305711eb1a86ad30d6353da (diff)
parent6e7e808b6614f98674dba7290bea2ea044c4d5d2 (diff)
Merge pull request #13320 from jordan-woyak/detect-alternations
DolphinQt/Mapping: Add setting to enable waiting for alternate mappings.
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