diff options
author | german <german@thesoftwareartisans.com> | 2020-09-05 04:35:42 +0200 |
---|---|---|
committer | german <german@thesoftwareartisans.com> | 2020-09-05 04:48:13 +0200 |
commit | 6ee8eab670acfed494ade355d77a32c57f7c9585 (patch) | |
tree | ca91a7ca7ac7861ae48c5456870eee425fc8c209 /src/core/hle/service/hid/controllers | |
parent | Remove RealMotionDevice (diff) | |
download | yuzu-6ee8eab670acfed494ade355d77a32c57f7c9585.tar yuzu-6ee8eab670acfed494ade355d77a32c57f7c9585.tar.gz yuzu-6ee8eab670acfed494ade355d77a32c57f7c9585.tar.bz2 yuzu-6ee8eab670acfed494ade355d77a32c57f7c9585.tar.lz yuzu-6ee8eab670acfed494ade355d77a32c57f7c9585.tar.xz yuzu-6ee8eab670acfed494ade355d77a32c57f7c9585.tar.zst yuzu-6ee8eab670acfed494ade355d77a32c57f7c9585.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index 2e06372a4..510fa3071 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -397,8 +397,7 @@ void Controller_NPad::OnUpdate(const Core::Timing::CoreTiming& core_timing, u8* std::tie(motion_devices[e].accel, motion_devices[e].gyro, motion_devices[e].rotation, motion_devices[e].orientation) = device->GetStatus(); - sixaxis_at_rest = - sixaxis_at_rest && motion_devices[e].gyro.Length2() < 0.00005f; + sixaxis_at_rest = sixaxis_at_rest && motion_devices[e].gyro.Length2() < 0.0001f; } } } |