diff options
author | german77 <juangerman-13@hotmail.com> | 2022-01-06 18:43:41 -0600 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-01-06 20:05:59 -0600 |
commit | 50a71529416ccf52fed6fc96af28641eb043c414 (patch) | |
tree | acf120d8e2ba9fd2961317d0cb967cc2dc78ea1e | |
parent | 4b4af29f860fb2fdecb76d705265b0bc2bcc7254 (diff) |
core/hid: Set minimum gyro threshold
-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 a23f192d7..43152492e 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) { |