core/hid: Remove usage of native types, fix a couple of errors with motion

This commit is contained in:
german77 2021-11-08 20:28:09 -06:00 committed by Narr the Reg
parent ac0154259a
commit 99485a06a7
11 changed files with 631 additions and 427 deletions

View file

@ -152,7 +152,7 @@ void EmulatedConsole::SetMotion(Common::Input::CallbackStatus callback) {
motion.rotation = emulated.GetGyroscope();
motion.orientation = emulated.GetOrientation();
motion.quaternion = emulated.GetQuaternion();
motion.is_at_rest = emulated.IsMoving(motion_sensitivity);
motion.is_at_rest = !emulated.IsMoving(motion_sensitivity);
TriggerOnChange(ConsoleTriggerType::Motion);
}