MCPcopy Create free account
hub / github.com/LibreVR/Revive / SyncInputState

Method SyncInputState

ReviveXR/InputManager.cpp:898–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896}
897
898ovrResult InputManager::SyncInputState(XrSession session, XrDuration displayPeriod)
899{
900 XrActionsSyncInfo syncInfo = XR_TYPE(ACTIONS_SYNC_INFO);
901 syncInfo.countActiveActionSets = (uint32_t)m_ActionSets.size();
902 syncInfo.activeActionSets = m_ActionSets.data();
903 CHK_XR(xrSyncActions(session, &syncInfo));
904
905 for (InputDevice* device : m_InputDevices)
906 device->UpdateHaptics(session, displayPeriod);
907 return ovrSuccess;
908}

Callers 1

ovr_WaitToBeginFrameFunction · 0.80

Calls 2

sizeMethod · 0.80
UpdateHapticsMethod · 0.45

Tested by

no test coverage detected