diff options
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: | |||
| 66 | */ | 66 | */ |
| 67 | void RegisterMotion(const MappingData& data); | 67 | void RegisterMotion(const MappingData& data); |
| 68 | 68 | ||
| 69 | /** | ||
| 70 | * Returns true if driver can be mapped | ||
| 71 | * @param "data": An struct containing all the information needed to create a proper | ||
| 72 | * ParamPackage | ||
| 73 | */ | ||
| 74 | bool IsDriverValid(const MappingData& data) const; | ||
| 75 | |||
| 69 | Common::SPSCQueue<Common::ParamPackage> input_queue; | 76 | Common::SPSCQueue<Common::ParamPackage> input_queue; |
| 70 | Polling::InputType input_type{Polling::InputType::None}; | 77 | Polling::InputType input_type{Polling::InputType::None}; |
| 71 | bool is_enabled{}; | 78 | bool is_enabled{}; |