diff options
author | bunnei <bunneidev@gmail.com> | 2020-09-30 10:04:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 10:04:22 +0200 |
commit | 392c1b96bca58d2c3a7ec8d923e85a2d983d39d7 (patch) | |
tree | 30ef1a3a8f2540eb4eee59f357a731fb28c02c09 /src/core/hle/service/hid/hid.h | |
parent | Update yuzu-patreon-step2.yml to set build timeout to 120 min (diff) | |
parent | Use different timing for motion (diff) | |
download | yuzu-392c1b96bca58d2c3a7ec8d923e85a2d983d39d7.tar yuzu-392c1b96bca58d2c3a7ec8d923e85a2d983d39d7.tar.gz yuzu-392c1b96bca58d2c3a7ec8d923e85a2d983d39d7.tar.bz2 yuzu-392c1b96bca58d2c3a7ec8d923e85a2d983d39d7.tar.lz yuzu-392c1b96bca58d2c3a7ec8d923e85a2d983d39d7.tar.xz yuzu-392c1b96bca58d2c3a7ec8d923e85a2d983d39d7.tar.zst yuzu-392c1b96bca58d2c3a7ec8d923e85a2d983d39d7.zip |
Diffstat (limited to 'src/core/hle/service/hid/hid.h')
-rw-r--r-- | src/core/hle/service/hid/hid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h index e04aaf1e9..3cfd72a51 100644 --- a/src/core/hle/service/hid/hid.h +++ b/src/core/hle/service/hid/hid.h @@ -65,10 +65,12 @@ private: void GetSharedMemoryHandle(Kernel::HLERequestContext& ctx); void UpdateControllers(std::uintptr_t user_data, std::chrono::nanoseconds ns_late); + void UpdateMotion(std::uintptr_t user_data, std::chrono::nanoseconds ns_late); std::shared_ptr<Kernel::SharedMemory> shared_mem; std::shared_ptr<Core::Timing::EventType> pad_update_event; + std::shared_ptr<Core::Timing::EventType> motion_update_event; Core::System& system; std::array<std::unique_ptr<ControllerBase>, static_cast<size_t>(HidController::MaxControllers)> |