3
0
Fork 0
forked from suyu/suyu

core/hid: Reduce gyro threshold even more

This commit is contained in:
Narr the Reg 2022-01-11 23:15:39 -06:00 committed by GitHub
parent acbfb0083a
commit d348070226
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ namespace Core::HID {
MotionInput::MotionInput() { MotionInput::MotionInput() {
// Initialize PID constants with default values // Initialize PID constants with default values
SetPID(0.3f, 0.005f, 0.0f); SetPID(0.3f, 0.005f, 0.0f);
SetGyroThreshold(0.001f); SetGyroThreshold(0.00005f);
} }
void MotionInput::SetPID(f32 new_kp, f32 new_ki, f32 new_kd) { void MotionInput::SetPID(f32 new_kp, f32 new_ki, f32 new_kd) {