Class XrInteractionProfileAnalogThresholdVALVE

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrInteractionProfileAnalogThresholdVALVE>
org.lwjgl.openxr.XrInteractionProfileAnalogThresholdVALVE
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrInteractionProfileAnalogThresholdVALVE extends org.lwjgl.system.Struct<XrInteractionProfileAnalogThresholdVALVE> implements org.lwjgl.system.NativeResource
Interaction profile dpad binding.
Description

Applications can also chain a single XrInteractionProfileAnalogThresholdVALVE structure on the next chain of any SuggestInteractionProfileBindings call. Runtimes must support this kind of chaining. This method of specifying analog thresholds is deprecated however, and should not be used by any new applications.

If a threshold struct is present for a given conversion, the runtime must use those thresholds instead of applying its own whenever it is using the binding suggested by the application.

onThreshold and offThreshold permit allow the application to specify that it wants hysteresis to be applied to the threshold operation. If onThreshold is smaller than offThreshold, the runtime must return ERROR_VALIDATION_FAILURE.

onHaptic and offHaptic allow the application to specify that it wants automatic haptic feedback to be generated when the boolean output of the threshold operation changes from false to true or vice versa. If these fields are not NULL, the runtime must trigger a haptic output with the specified characteristics. If the device has multiple haptic outputs, the runtime should use the haptic output that is most appropriate for the specified input path.

If a suggested binding with action and binding is not in the binding list for this interaction profile, the runtime must return ERROR_PATH_UNSUPPORTED.

Valid Usage (Implicit)
See Also

XrHapticBaseHeader

Layout


 struct XrInteractionProfileAnalogThresholdVALVE {
     XrStructureType type();
     void const * next();
     XrAction action();
     XrPath binding();
     float onThreshold();
     float offThreshold();
     XrHapticBaseHeader const * onHaptic();
     XrHapticBaseHeader const * offHaptic();
 }