diff options
Diffstat (limited to 'src/core')
| -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* | |||
| 397 | std::tie(motion_devices[e].accel, motion_devices[e].gyro, | 397 | std::tie(motion_devices[e].accel, motion_devices[e].gyro, |
| 398 | motion_devices[e].rotation, motion_devices[e].orientation) = | 398 | motion_devices[e].rotation, motion_devices[e].orientation) = |
| 399 | device->GetStatus(); | 399 | device->GetStatus(); |
| 400 | sixaxis_at_rest = | 400 | sixaxis_at_rest = sixaxis_at_rest && motion_devices[e].gyro.Length2() < 0.0001f; |
| 401 | sixaxis_at_rest && motion_devices[e].gyro.Length2() < 0.00005f; | ||
| 402 | } | 401 | } |
| 403 | } | 402 | } |
| 404 | } | 403 | } |