Add cemu hook changes related to PR #4609
This commit is contained in:
parent
0774b17846
commit
6ee8eab670
8 changed files with 445 additions and 135 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue