diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-06-10 20:13:46 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-06-10 20:14:31 +0200 |
commit | bc8699a9fa653e0fa35d3f434979b99054ffe4b7 (patch) | |
tree | e11e81fa798807b419f5b260721beec2269f3d14 /src/core/hle/service/hid/controllers/gesture.cpp | |
parent | Merge pull request #8428 from bunnei/nvflinger-fix-timing (diff) | |
download | yuzu-bc8699a9fa653e0fa35d3f434979b99054ffe4b7.tar yuzu-bc8699a9fa653e0fa35d3f434979b99054ffe4b7.tar.gz yuzu-bc8699a9fa653e0fa35d3f434979b99054ffe4b7.tar.bz2 yuzu-bc8699a9fa653e0fa35d3f434979b99054ffe4b7.tar.lz yuzu-bc8699a9fa653e0fa35d3f434979b99054ffe4b7.tar.xz yuzu-bc8699a9fa653e0fa35d3f434979b99054ffe4b7.tar.zst yuzu-bc8699a9fa653e0fa35d3f434979b99054ffe4b7.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/gesture.cpp')
-rw-r--r-- | src/core/hle/service/hid/controllers/gesture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/gesture.cpp b/src/core/hle/service/hid/controllers/gesture.cpp index 3eae1ae35..32e0708ba 100644 --- a/src/core/hle/service/hid/controllers/gesture.cpp +++ b/src/core/hle/service/hid/controllers/gesture.cpp @@ -61,6 +61,7 @@ void Controller_Gesture::OnUpdate(const Core::Timing::CoreTiming& core_timing) { } last_update_timestamp = shared_memory->gesture_lifo.timestamp; + UpdateGestureSharedMemory(gesture, time_difference); } void Controller_Gesture::ReadTouchInput() { @@ -94,8 +95,7 @@ bool Controller_Gesture::ShouldUpdateGesture(const GestureProperties& gesture, return false; } -void Controller_Gesture::UpdateGestureSharedMemory(u8* data, std::size_t size, - GestureProperties& gesture, +void Controller_Gesture::UpdateGestureSharedMemory(GestureProperties& gesture, f32 time_difference) { GestureType type = GestureType::Idle; GestureAttribute attributes{}; |