aboutsummaryrefslogtreecommitdiff
path: root/src/common/input.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-11 22:10:38 -0500
committerLiam <byteslice@airmail.cc>2023-03-12 11:33:01 -0400
commit600f325d87e42f856da58c42a5280f098ebb6e8c (patch)
tree75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/common/input.h
parentd155167ea2598330d3f67189df8c7db92866fa05 (diff)
general: fix spelling mistakes
Diffstat (limited to 'src/common/input.h')
-rw-r--r--src/common/input.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/input.h b/src/common/input.h
index 98e9346850..51b277c1f9 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