diff options
| author | Filoppi <filippotarpini@hotmail.it> | 2021-05-04 23:50:23 +0300 |
|---|---|---|
| committer | Filoppi <filippotarpini@hotmail.it> | 2021-05-12 18:27:23 +0300 |
| commit | f4fec42165f245e8ad35456a25bfada8428ba1f2 (patch) | |
| tree | b0e89930e9767368778c7a4b3cc4da56da243035 /Source/Core/InputCommon/ControlReference/ExpressionParser.h | |
| parent | e9e41b925b6efeac4d3eadf049391ef81483528f (diff) | |
Add mixed comments to input code, make some tooltip clearer
Diffstat (limited to 'Source/Core/InputCommon/ControlReference/ExpressionParser.h')
| -rw-r--r-- | Source/Core/InputCommon/ControlReference/ExpressionParser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControlReference/ExpressionParser.h b/Source/Core/InputCommon/ControlReference/ExpressionParser.h index 9789e9afe0..14670848ae 100644 --- a/Source/Core/InputCommon/ControlReference/ExpressionParser.h +++ b/Source/Core/InputCommon/ControlReference/ExpressionParser.h @@ -63,7 +63,9 @@ public: enum class ParseStatus { Successful, + // Note that the expression could still work in this case (be valid and return a value) SyntaxError, + // Will return the default value EmptyExpression, }; @@ -107,6 +109,7 @@ class ControlQualifier public: bool has_device; Core::DeviceQualifier device_qualifier; + // Makes no distinction between input and output std::string control_name; ControlQualifier() : has_device(false) {} |
