From 50a71529416ccf52fed6fc96af28641eb043c414 Mon Sep 17 00:00:00 2001 From: german77 Date: Thu, 6 Jan 2022 18:43:41 -0600 Subject: core/hid: Set minimum gyro threshold --- src/core/hid/motion_input.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/hid/motion_input.cpp') 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) { -- cgit v1.2.3