C Specification
The xrApplyHapticFeedback function is defined as:
XrResult xrApplyHapticFeedback(
XrAction hapticAction,
uint32_t countSubactionPaths,
const XrPath* subactionPaths,
const XrHapticBaseHeader* hapticEvent);
Parameters
Description
Triggers a haptic event through the specified action of type XR_TYPE_ACTION_STATE_POSE
.
The runtime should deliver this request to the appropriate device, but exactly which device, if any, this event is sent to is up to the runtime to decide.
If an appropriate device is unavailable the runtime may ignore this request for haptic feedback.
If another haptic event from this session is currently happening on the device bound to this action, the runtime must interrupt that other event and replace it with the new one.
See XrActionCreateInfo for a description of subaction paths, and the restrictions on their use.
Document Notes
For more information, see the OpenXR Specification at URL
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.