| 571 | } |
| 572 | |
| 573 | OVR_PUBLIC_FUNCTION(ovrResult) ovr_SetControllerVibration(ovrSession session, ovrControllerType controllerType, float frequency, float amplitude) |
| 574 | { |
| 575 | REV_TRACE(ovr_SetControllerVibration); |
| 576 | MICROPROFILE_META_CPU("Controller Type", controllerType); |
| 577 | |
| 578 | if (!session || !session->Input) |
| 579 | return ovrError_InvalidSession; |
| 580 | |
| 581 | return session->Input->SetControllerVibration(session, controllerType, frequency, amplitude); |
| 582 | } |
| 583 | |
| 584 | OVR_PUBLIC_FUNCTION(ovrResult) ovr_SubmitControllerVibration(ovrSession session, ovrControllerType controllerType, const ovrHapticsBuffer* buffer) |
| 585 | { |
nothing calls this directly
no test coverage detected