diff options
| author | bunnei <bunneidev@gmail.com> | 2022-01-08 00:06:15 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-08 00:06:15 -0800 |
| commit | 8d5bddc40f457bab2cfe630bd44aace5d9d6e1d3 (patch) | |
| tree | 592c31594566b2f933f358b79a7b44380fa2515b /src/core/hid/motion_input.cpp | |
| parent | 6dfbefd29b94d61dbbda0dec63859ecbbeff1c14 (diff) | |
| parent | f333340a9c254d4b0f84f01d4bc0a3f9bdf3e2f5 (diff) | |
Merge pull request #7680 from german77/accel_mapping
input_common: Allow to only have acceleration motion data
Diffstat (limited to 'src/core/hid/motion_input.cpp')
| -rw-r--r-- | src/core/hid/motion_input.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hid/motion_input.cpp b/src/core/hid/motion_input.cpp index a23f192d76..43152492eb 100644 --- a/src/core/hid/motion_input.cpp +++ b/src/core/hid/motion_input.cpp @@ -10,6 +10,7 @@ namespace Core::HID { MotionInput::MotionInput() { // Initialize PID constants with default values SetPID(0.3f, 0.005f, 0.0f); + SetGyroThreshold(0.001f); } void MotionInput::SetPID(f32 new_kp, f32 new_ki, f32 new_kd) { |
