diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-14 17:45:07 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:28 +0100 |
commit | bca299e8e0489867f7d4bbfd264e221e7e61ae1e (patch) | |
tree | 312f145bfcaffa9b7ecc2710443fa3737bf379e4 /src/input_common/input_mapping.h | |
parent | core/hid: Improve accuracy of the keyboard implementation (diff) | |
download | yuzu-bca299e8e0489867f7d4bbfd264e221e7e61ae1e.tar yuzu-bca299e8e0489867f7d4bbfd264e221e7e61ae1e.tar.gz yuzu-bca299e8e0489867f7d4bbfd264e221e7e61ae1e.tar.bz2 yuzu-bca299e8e0489867f7d4bbfd264e221e7e61ae1e.tar.lz yuzu-bca299e8e0489867f7d4bbfd264e221e7e61ae1e.tar.xz yuzu-bca299e8e0489867f7d4bbfd264e221e7e61ae1e.tar.zst yuzu-bca299e8e0489867f7d4bbfd264e221e7e61ae1e.zip |
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 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{}; |