diff options
| author | german77 <juangerman-13@hotmail.com> | 2021-04-22 13:15:59 -0500 |
|---|---|---|
| committer | german77 <juangerman-13@hotmail.com> | 2021-04-23 22:12:41 -0500 |
| commit | c19ad21ae855c9143a871e378e8d8c59abcaebfa (patch) | |
| tree | 90499012c2bcac1620ca69e4ef6b10edb5ffe009 /src/core/hle/service/hid/controllers/npad.cpp | |
| parent | cdce1edf74fbaad08f77f8dcd0722dbbf6e0f2a5 (diff) | |
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.cpp')
| -rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index 113a41254..249c300f6 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -654,8 +654,8 @@ void Controller_NPad::OnMotionUpdate(const Core::Timing::CoreTiming& core_timing const auto& device = motions[i][e]; if (device) { std::tie(motion_devices[e].accel, motion_devices[e].gyro, - motion_devices[e].rotation, motion_devices[e].orientation) = - device->GetStatus(); + motion_devices[e].rotation, motion_devices[e].orientation, + motion_devices[e].quaternion) = device->GetStatus(); sixaxis_at_rest = sixaxis_at_rest && motion_devices[e].gyro.Length2() < 0.0001f; } } |
