diff options
| author | german <german@thesoftwareartisans.com> | 2020-08-26 16:49:24 -0500 |
|---|---|---|
| committer | german <german@thesoftwareartisans.com> | 2020-08-27 17:19:21 -0500 |
| commit | 1be18dc110e1c7193930c62542855c91179d179b (patch) | |
| tree | 5ce63dd785b321255cb3479a27fcfa91305f5a51 /src/input_common/motion_input.h | |
| parent | e6fc3b5662d441db7e1191a857bbb1b6ec1b06f4 (diff) | |
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: Common::Vec3f gyro_drift; f32 gyro_threshold = 0.0f; - f32 reset_counter = 0.0f; + u32 reset_counter = 0; bool reset_enabled = true; }; |
