Browse Source
Merge pull request #7700 from german77/no-gyro
core/hid: Reduce gyro threshold even more
pull/15/merge
bunnei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/core/hid/motion_input.cpp
|
|
|
@ -10,7 +10,7 @@ namespace Core::HID { |
|
|
|
MotionInput::MotionInput() { |
|
|
|
// Initialize PID constants with default values
|
|
|
|
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) { |
|
|
|
|