input_common: Add option to configure gyro threshold
This commit is contained in:
parent
2136ebccd6
commit
ebf19616f4
4 changed files with 24 additions and 6 deletions
|
@ -749,6 +749,7 @@ void EmulatedController::SetMotion(const Common::Input::CallbackStatus& callback
|
|||
raw_status.gyro.y.value,
|
||||
raw_status.gyro.z.value,
|
||||
});
|
||||
emulated.SetGyroThreshold(raw_status.gyro.x.properties.threshold);
|
||||
emulated.UpdateRotation(raw_status.delta_timestamp);
|
||||
emulated.UpdateOrientation(raw_status.delta_timestamp);
|
||||
force_update_motion = raw_status.force_update;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue