Function ovr_sys::ovr_GetControllerVibrationState
[−]
[src]
pub unsafe extern "C" fn ovr_GetControllerVibrationState(
session: ovrSession,
controllerType: ovrControllerType,
outState: *mut ovrHapticsPlaybackState
) -> ovrResult
Gets the Haptics engine playback state of a specific Touch controller.
session Specifies an ovrSession previously returned by ovr_Create.
controllerType Controller where the Haptics buffer wil be played.
outState State of the haptics engine.
Returns an ovrResult for which OVR_SUCCESS(result) is false upon error and true
upon success. Return values include but aren't limited to:
* ovrSuccess: The call succeeded and a result was returned.
* ovrSuccess_DeviceUnavailable: The call succeeded but the device referred to by controllerType is not available.