diff options
| author | 2021-11-08 20:28:09 -0600 | |
|---|---|---|
| committer | 2021-11-24 20:30:28 -0600 | |
| commit | 71f9b90dd90c442425900ee16af8b4e39ac54aed (patch) | |
| tree | ffd9c7d6fdd3ab7d9e2ef0f439968906b36c8d53 /src/core/hid/emulated_console.cpp | |
| parent | settings: Remove includes of core.h (diff) | |
| download | yuzu-71f9b90dd90c442425900ee16af8b4e39ac54aed.tar.gz yuzu-71f9b90dd90c442425900ee16af8b4e39ac54aed.tar.xz yuzu-71f9b90dd90c442425900ee16af8b4e39ac54aed.zip | |
core/hid: Remove usage of native types, fix a couple of errors with motion
Diffstat (limited to 'src/core/hid/emulated_console.cpp')
| -rw-r--r-- | src/core/hid/emulated_console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp index 864481f52..374dd5d41 100644 --- a/src/core/hid/emulated_console.cpp +++ b/src/core/hid/emulated_console.cpp | |||
| @@ -152,7 +152,7 @@ void EmulatedConsole::SetMotion(Common::Input::CallbackStatus callback) { | |||
| 152 | motion.rotation = emulated.GetGyroscope(); | 152 | motion.rotation = emulated.GetGyroscope(); |
| 153 | motion.orientation = emulated.GetOrientation(); | 153 | motion.orientation = emulated.GetOrientation(); |
| 154 | motion.quaternion = emulated.GetQuaternion(); | 154 | motion.quaternion = emulated.GetQuaternion(); |
| 155 | motion.is_at_rest = emulated.IsMoving(motion_sensitivity); | 155 | motion.is_at_rest = !emulated.IsMoving(motion_sensitivity); |
| 156 | 156 | ||
| 157 | TriggerOnChange(ConsoleTriggerType::Motion); | 157 | TriggerOnChange(ConsoleTriggerType::Motion); |
| 158 | } | 158 | } |