diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-14 10:45:07 -0600 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:28 -0600 |
commit | bca299e8e0489867f7d4bbfd264e221e7e61ae1e (patch) | |
tree | 312f145bfcaffa9b7ecc2710443fa3737bf379e4 /src/input_common/input_mapping.h | |
parent | b673857d7dfc72f38d9242b315cd590b859795ff (diff) |
input_common: Allow keyboard to be backwards compatible
Diffstat (limited to 'src/input_common/input_mapping.h')
-rw-r--r-- | src/input_common/input_mapping.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_common/input_mapping.h b/src/input_common/input_mapping.h index 2622dba70c..44eb8ad9a3 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{}; |