input_common: Allow keyboard to be backwards compatible

This commit is contained in:
german77 authored and Narr the Reg committed 2021-11-24 20:30:28 -06:00
1 parent b673857d7d
commit bca299e8e0
10 files changed
+115 -48

No files matched your search

+7
View File
@@ -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{};