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

Function ovr_SetControllerVibration

Revive/REV_CAPI.cpp:563–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563OVR_PUBLIC_FUNCTION(ovrResult) ovr_SetControllerVibration(ovrSession session, ovrControllerType controllerType, float frequency, float amplitude)
564{
565 REV_TRACE(ovr_SetControllerVibration);
566
567 if (!session)
568 return ovrError_InvalidSession;
569
570 return session->Input->SetControllerVibration(session, controllerType, frequency, amplitude);
571}
572
573OVR_PUBLIC_FUNCTION(ovrResult) ovr_SubmitControllerVibration(ovrSession session, ovrControllerType controllerType, const ovrHapticsBuffer* buffer)
574{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected