mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 13:25:45 +00:00
core/hid: Set minimum gyro threshold
This commit is contained in:
parent
10439bbfff
commit
f333340a9c
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +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);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MotionInput::SetPID(f32 new_kp, f32 new_ki, f32 new_kd) {
|
void MotionInput::SetPID(f32 new_kp, f32 new_ki, f32 new_kd) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue