input_mapping: Amend specification of parameters
param tags are supposed to specify the parameter name without any quoting. Silences several -Wdocumentation warnings.
This commit is contained in:
parent
7783c0aaef
commit
6497fbfa96
|
@ -14,8 +14,8 @@ public:
|
||||||
MappingFactory();
|
MappingFactory();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resets all varables to beggin the mapping process
|
* Resets all variables to begin the mapping process
|
||||||
* @param "type": type of input desired to be returned
|
* @param type type of input desired to be returned
|
||||||
*/
|
*/
|
||||||
void BeginMapping(Polling::InputType type);
|
void BeginMapping(Polling::InputType type);
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@ public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers mapping input data from the driver
|
* Registers mapping input data from the driver
|
||||||
* @param "data": An struct containing all the information needed to create a proper
|
* @param data A struct containing all the information needed to create a proper
|
||||||
* ParamPackage
|
* ParamPackage
|
||||||
*/
|
*/
|
||||||
void RegisterInput(const MappingData& data);
|
void RegisterInput(const MappingData& data);
|
||||||
|
|
||||||
|
@ -34,42 +34,42 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/**
|
/**
|
||||||
* If provided data satisfies the requeriments it will push an element to the input_queue
|
* If provided data satisfies the requirements it will push an element to the input_queue
|
||||||
* Supported input:
|
* Supported input:
|
||||||
* - Button: Creates a basic button ParamPackage
|
* - Button: Creates a basic button ParamPackage
|
||||||
* - HatButton: Creates a basic hat button ParamPackage
|
* - HatButton: Creates a basic hat button ParamPackage
|
||||||
* - Analog: Creates a basic analog ParamPackage
|
* - Analog: Creates a basic analog ParamPackage
|
||||||
* @param "data": An struct containing all the information needed to create a proper
|
* @param data A struct containing all the information needed to create a proper
|
||||||
* ParamPackage
|
* ParamPackage
|
||||||
*/
|
*/
|
||||||
void RegisterButton(const MappingData& data);
|
void RegisterButton(const MappingData& data);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If provided data satisfies the requeriments it will push an element to the input_queue
|
* If provided data satisfies the requirements it will push an element to the input_queue
|
||||||
* Supported input:
|
* Supported input:
|
||||||
* - Button, HatButton: Pass the data to RegisterButton
|
* - Button, HatButton: Pass the data to RegisterButton
|
||||||
* - Analog: Stores the first axis and on the second axis creates a basic stick ParamPackage
|
* - Analog: Stores the first axis and on the second axis creates a basic stick ParamPackage
|
||||||
* @param "data": An struct containing all the information needed to create a proper
|
* @param data A struct containing all the information needed to create a proper
|
||||||
* ParamPackage
|
* ParamPackage
|
||||||
*/
|
*/
|
||||||
void RegisterStick(const MappingData& data);
|
void RegisterStick(const MappingData& data);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If provided data satisfies the requeriments it will push an element to the input_queue
|
* If provided data satisfies the requirements it will push an element to the input_queue
|
||||||
* Supported input:
|
* Supported input:
|
||||||
* - Button, HatButton: Pass the data to RegisterButton
|
* - Button, HatButton: Pass the data to RegisterButton
|
||||||
* - Analog: Stores the first two axis and on the third axis creates a basic Motion
|
* - Analog: Stores the first two axis and on the third axis creates a basic Motion
|
||||||
* ParamPackage
|
* ParamPackage
|
||||||
* - Motion: Creates a basic Motion ParamPackage
|
* - Motion: Creates a basic Motion ParamPackage
|
||||||
* @param "data": An struct containing all the information needed to create a proper
|
* @param data A struct containing all the information needed to create a proper
|
||||||
* ParamPackage
|
* ParamPackage
|
||||||
*/
|
*/
|
||||||
void RegisterMotion(const MappingData& data);
|
void RegisterMotion(const MappingData& data);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if driver can be mapped
|
* Returns true if driver can be mapped
|
||||||
* @param "data": An struct containing all the information needed to create a proper
|
* @param data A struct containing all the information needed to create a proper
|
||||||
* ParamPackage
|
* ParamPackage
|
||||||
*/
|
*/
|
||||||
bool IsDriverValid(const MappingData& data) const;
|
bool IsDriverValid(const MappingData& data) const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue