oculus vr haptic feedback

Hello.

i am making a drumming game for oculus vr. When i make code for haptic feedback, i cant find any way to change the lenght(amount of seconds) of the vibration. is there anyway to change it?

here is the code

private void OnTriggerEnter(Collider other)
    {

        if(other.tag == "DrumStickHead")
        {
            OVRInput.SetControllerVibration(1, 1, OVRInput.Controller.RTouch);      
        }

        if (other.tag == "DrumStickHead2")
        {
            OVRInput.SetControllerVibration(1, 1, OVRInput.Controller.LTouch);
        }
    }

I know this is old, but since it came up and I came across the solution I wanted to add it for others that may come here looking for an asnwer.

The answer is quite simple.
Run:
OVRInput.SetControllerVibration(0, 0, OVRInput.Controller.RTouch);
And it will stop.

I found this answer here: SetControllerVibration - how to stop it? - Meta Community Forums - 515770

He used it with a coroutine WaitForSeconds(0.3f)
Tested and works.

Good luck!

This no longer works in the new 2022 Unity version with latest Oculus package. Any info on fixing this?