summaryrefslogtreecommitdiffstats
path: root/src/input_common/input_mapping.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input_common/input_mapping.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_common/input_mapping.h b/src/input_common/input_mapping.h
index 2622dba70..44eb8ad9a 100644
--- a/src/input_common/input_mapping.h
+++ b/src/input_common/input_mapping.h
@@ -66,6 +66,13 @@ private:
*/
void RegisterMotion(const MappingData& data);
+ /**
+ * Returns true if driver can be mapped
+ * @param "data": An struct containing all the information needed to create a proper
+ * ParamPackage
+ */
+ bool IsDriverValid(const MappingData& data) const;
+
Common::SPSCQueue<Common::ParamPackage> input_queue;
Polling::InputType input_type{Polling::InputType::None};
bool is_enabled{};