diff options
Diffstat (limited to '')
| -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 @@ | |||
| 15 | 15 | ||
| 16 | namespace Common::Input { | 16 | namespace Common::Input { |
| 17 | 17 | ||
| 18 | // Type of data that is expected to recieve or send | 18 | // Type of data that is expected to receive or send |
| 19 | enum class InputType { | 19 | enum class InputType { |
| 20 | None, | 20 | None, |
| 21 | Battery, | 21 | Battery, |
| @@ -103,7 +103,7 @@ enum class VibrationAmplificationType { | |||
| 103 | struct AnalogProperties { | 103 | struct AnalogProperties { |
| 104 | // Anything below this value will be detected as zero | 104 | // Anything below this value will be detected as zero |
| 105 | float deadzone{}; | 105 | float deadzone{}; |
| 106 | // Anyting above this values will be detected as one | 106 | // Anything above this values will be detected as one |
| 107 | float range{1.0f}; | 107 | float range{1.0f}; |
| 108 | // Minimum value to be detected as active | 108 | // Minimum value to be detected as active |
| 109 | float threshold{0.5f}; | 109 | float threshold{0.5f}; |
| @@ -209,7 +209,7 @@ struct LedStatus { | |||
| 209 | bool led_4{}; | 209 | bool led_4{}; |
| 210 | }; | 210 | }; |
| 211 | 211 | ||
| 212 | // Raw data fom camera | 212 | // Raw data from camera |
| 213 | struct CameraStatus { | 213 | struct CameraStatus { |
| 214 | CameraFormat format{CameraFormat::None}; | 214 | CameraFormat format{CameraFormat::None}; |
| 215 | std::vector<u8> data{}; | 215 | std::vector<u8> data{}; |
| @@ -428,7 +428,7 @@ inline void UnregisterOutputFactory(const std::string& name) { | |||
| 428 | } | 428 | } |
| 429 | 429 | ||
| 430 | /** | 430 | /** |
| 431 | * Create an input device from given paramters. | 431 | * Create an input device from given parameters. |
| 432 | * @tparam InputDeviceType the type of input devices to create | 432 | * @tparam InputDeviceType the type of input devices to create |
| 433 | * @param params a serialized ParamPackage string that contains all parameters for creating the | 433 | * @param params a serialized ParamPackage string that contains all parameters for creating the |
| 434 | * device | 434 | * device |