diff options
Diffstat (limited to 'src/input_common/motion_input.h')
| -rw-r--r-- | src/input_common/motion_input.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_common/motion_input.h b/src/input_common/motion_input.h index 12b7d0d3f..6342d0318 100644 --- a/src/input_common/motion_input.h +++ b/src/input_common/motion_input.h | |||
| @@ -46,6 +46,7 @@ public: | |||
| 46 | 46 | ||
| 47 | private: | 47 | private: |
| 48 | void ResetOrientation(); | 48 | void ResetOrientation(); |
| 49 | void SetOrientationFromAccelerometer(); | ||
| 49 | 50 | ||
| 50 | // PID constants | 51 | // PID constants |
| 51 | const f32 kp; | 52 | const f32 kp; |
| @@ -66,6 +67,7 @@ private: | |||
| 66 | f32 gyro_threshold = 0.0f; | 67 | f32 gyro_threshold = 0.0f; |
| 67 | u32 reset_counter = 0; | 68 | u32 reset_counter = 0; |
| 68 | bool reset_enabled = true; | 69 | bool reset_enabled = true; |
| 70 | bool only_accelerometer = true; | ||
| 69 | }; | 71 | }; |
| 70 | 72 | ||
| 71 | } // namespace InputCommon | 73 | } // namespace InputCommon |