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

Function ovr_SubmitControllerVibration

ReviveXR/REV_CAPI.cpp:584–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584OVR_PUBLIC_FUNCTION(ovrResult) ovr_SubmitControllerVibration(ovrSession session, ovrControllerType controllerType, const ovrHapticsBuffer* buffer)
585{
586 REV_TRACE(ovr_SubmitControllerVibration);
587 MICROPROFILE_META_CPU("Controller Type", controllerType);
588
589 if (!session || !session->Input)
590 return ovrError_InvalidSession;
591
592 return session->Input->SubmitControllerVibration(session, controllerType, buffer);
593}
594
595OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetControllerVibrationState(ovrSession session, ovrControllerType controllerType, ovrHapticsPlaybackState* outState)
596{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected