diff options
| author | 2022-01-13 21:24:41 -0800 | |
|---|---|---|
| committer | 2022-01-13 21:24:41 -0800 | |
| commit | b3bcf0fa88aac9e1287d9df32585e6d8abc16b2c (patch) | |
| tree | 4b1318d8d41b6087f0583816231fb61955e5efb9 | |
| parent | Merge pull request #7697 from abouvier/opt-tests (diff) | |
| parent | core/hid: Reduce gyro threshold even more (diff) | |
| download | yuzu-b3bcf0fa88aac9e1287d9df32585e6d8abc16b2c.tar.gz yuzu-b3bcf0fa88aac9e1287d9df32585e6d8abc16b2c.tar.xz yuzu-b3bcf0fa88aac9e1287d9df32585e6d8abc16b2c.zip | |
Merge pull request #7700 from german77/no-gyro
core/hid: Reduce gyro threshold even more
Diffstat (limited to '')
| -rw-r--r-- | src/core/hid/motion_input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/motion_input.cpp b/src/core/hid/motion_input.cpp index 43152492e..6e126be19 100644 --- a/src/core/hid/motion_input.cpp +++ b/src/core/hid/motion_input.cpp | |||
| @@ -10,7 +10,7 @@ namespace Core::HID { | |||
| 10 | MotionInput::MotionInput() { | 10 | MotionInput::MotionInput() { |
| 11 | // Initialize PID constants with default values | 11 | // Initialize PID constants with default values |
| 12 | SetPID(0.3f, 0.005f, 0.0f); | 12 | SetPID(0.3f, 0.005f, 0.0f); |
| 13 | SetGyroThreshold(0.001f); | 13 | SetGyroThreshold(0.00005f); |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | void MotionInput::SetPID(f32 new_kp, f32 new_ki, f32 new_kd) { | 16 | void MotionInput::SetPID(f32 new_kp, f32 new_ki, f32 new_kd) { |