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

Function ovr_GetControllerVibrationState

ReviveXR/REV_CAPI.cpp:595–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetControllerVibrationState(ovrSession session, ovrControllerType controllerType, ovrHapticsPlaybackState* outState)
596{
597 REV_TRACE(ovr_GetControllerVibrationState);
598 MICROPROFILE_META_CPU("Controller Type", controllerType);
599
600 if (!session || !session->Input)
601 return ovrError_InvalidSession;
602
603 return session->Input->GetControllerVibrationState(session, controllerType, outState);
604}
605
606OVR_PUBLIC_FUNCTION(ovrResult) ovr_TestBoundary(ovrSession session, ovrTrackedDeviceType deviceBitmask,
607 ovrBoundaryType boundaryType, ovrBoundaryTestResult* outTestResult)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected