diff options
| author | 2020-08-26 16:49:24 -0500 | |
|---|---|---|
| committer | 2020-08-27 17:19:21 -0500 | |
| commit | 1be18dc110e1c7193930c62542855c91179d179b (patch) | |
| tree | 5ce63dd785b321255cb3479a27fcfa91305f5a51 /src/input_common/motion_input.h | |
| parent | Address comments (diff) | |
| download | yuzu-1be18dc110e1c7193930c62542855c91179d179b.tar.gz yuzu-1be18dc110e1c7193930c62542855c91179d179b.tar.xz yuzu-1be18dc110e1c7193930c62542855c91179d179b.zip | |
Fix orientation errors and improve drift correction
Diffstat (limited to 'src/input_common/motion_input.h')
| -rw-r--r-- | src/input_common/motion_input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/motion_input.h b/src/input_common/motion_input.h index d1a7a9e13..445798a54 100644 --- a/src/input_common/motion_input.h +++ b/src/input_common/motion_input.h | |||
| @@ -61,7 +61,7 @@ private: | |||
| 61 | Common::Vec3f gyro_drift; | 61 | Common::Vec3f gyro_drift; |
| 62 | 62 | ||
| 63 | f32 gyro_threshold = 0.0f; | 63 | f32 gyro_threshold = 0.0f; |
| 64 | f32 reset_counter = 0.0f; | 64 | u32 reset_counter = 0; |
| 65 | bool reset_enabled = true; | 65 | bool reset_enabled = true; |
| 66 | }; | 66 | }; |
| 67 | 67 | ||