summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-01-07 01:43:41 +0100
committergerman77 <juangerman-13@hotmail.com>2022-01-07 03:05:59 +0100
commit50a71529416ccf52fed6fc96af28641eb043c414 (patch)
treeacf120d8e2ba9fd2961317d0cb967cc2dc78ea1e /src/core
parentinput_common: Use accelerometer data for mapping (diff)
downloadyuzu-50a71529416ccf52fed6fc96af28641eb043c414.tar
yuzu-50a71529416ccf52fed6fc96af28641eb043c414.tar.gz
yuzu-50a71529416ccf52fed6fc96af28641eb043c414.tar.bz2
yuzu-50a71529416ccf52fed6fc96af28641eb043c414.tar.lz
yuzu-50a71529416ccf52fed6fc96af28641eb043c414.tar.xz
yuzu-50a71529416ccf52fed6fc96af28641eb043c414.tar.zst
yuzu-50a71529416ccf52fed6fc96af28641eb043c414.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hid/motion_input.cpp1
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) {