summaryrefslogtreecommitdiffstats
path: root/src/common/input.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-12 04:10:38 +0100
committerLiam <byteslice@airmail.cc>2023-03-12 16:33:01 +0100
commit600f325d87e42f856da58c42a5280f098ebb6e8c (patch)
tree75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/common/input.h
parentgeneral: use codespell to identify spelling mistakes (diff)
downloadyuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar
yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.gz
yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.bz2
yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.lz
yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.xz
yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.zst
yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.zip
Diffstat (limited to '')
-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 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