diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-12 21:59:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-12 21:59:46 -0400 |
commit | 54c359d1e3915653ce07a26e0e574aca5a331cb1 (patch) | |
tree | 75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/common/input.h | |
parent | 49643d8134629e58d564961f4416bb434908f686 (diff) | |
parent | 600f325d87e42f856da58c42a5280f098ebb6e8c (diff) |
Merge pull request #9942 from liamwhite/speling
general: use codespell to identify spelling mistakes
Diffstat (limited to 'src/common/input.h')
-rw-r--r-- | src/common/input.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/input.h b/src/common/input.h index 98e934685..51b277c1f 100644 --- a/src/common/input.h +++ b/src/common/input.h @@ -15,7 +15,7 @@ namespace Common::Input { -// Type of data that is expected to recieve or send +// Type of data that is expected to receive or send enum class InputType { None, Battery, @@ -103,7 +103,7 @@ enum class VibrationAmplificationType { struct AnalogProperties { // Anything below this value will be detected as zero float deadzone{}; - // Anyting above this values will be detected as one + // Anything above this values will be detected as one float range{1.0f}; // Minimum value to be detected as active float threshold{0.5f}; @@ -209,7 +209,7 @@ struct LedStatus { bool led_4{}; }; -// Raw data fom camera +// Raw data from camera struct CameraStatus { CameraFormat format{CameraFormat::None}; std::vector<u8> data{}; @@ -428,7 +428,7 @@ inline void UnregisterOutputFactory(const std::string& name) { } /** - * Create an input device from given paramters. + * Create an input device from given parameters. * @tparam InputDeviceType the type of input devices to create * @param params a serialized ParamPackage string that contains all parameters for creating the * device |