Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class MNDXForceFeedbackCurl

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

The XR_MNDX_force_feedback_curl extension.

This extension provides APIs for force feedback devices capable of restricting physical movement in a single direction along a single dimension.

The intended use for this extension is to provide simple force feedback capabilities to restrict finger movement for VR Gloves.

The application must also enable the XR_EXT_hand_tracking extension in order to use this extension.

Field Summary

Modifier and TypeField and Description
public static final int
XR_FORCE_FEEDBACK_CURL_LOCATION_INDEX_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback Enumerant Descriptions

public static final int
XR_FORCE_FEEDBACK_CURL_LOCATION_LITTLE_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback Enumerant Descriptions

public static final int
XR_FORCE_FEEDBACK_CURL_LOCATION_MIDDLE_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback Enumerant Descriptions

public static final int
XR_FORCE_FEEDBACK_CURL_LOCATION_RING_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback Enumerant Descriptions

public static final int
XR_FORCE_FEEDBACK_CURL_LOCATION_THUMB_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback Enumerant Descriptions

public static final String
public static final int
XR_MNDX_force_feedback_curl_SPEC_VERSION

The extension specification version.

public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, long locations)

Unsafe version of: ApplyForceFeedbackCurlMNDX

public static int
xrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT
an XrHandTrackerEXT handle previously created with CreateHandTrackerEXT.
handTracker
,
XrForceFeedbackCurlApplyLocationsMNDX
an XrForceFeedbackCurlApplyLocationsMNDX containing a set of locations to apply force feedback to.
locations
)

Applies force feedback to a set of locations.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_FORCE_FEEDBACK_CURL_LOCATION_INDEX_CURL_MNDXback to summary
public static final int XR_FORCE_FEEDBACK_CURL_LOCATION_INDEX_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback

Enumerant Descriptions
See Also

XrForceFeedbackCurlApplyLocationMNDX

XR_FORCE_FEEDBACK_CURL_LOCATION_LITTLE_CURL_MNDXback to summary
public static final int XR_FORCE_FEEDBACK_CURL_LOCATION_LITTLE_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback

Enumerant Descriptions
See Also

XrForceFeedbackCurlApplyLocationMNDX

XR_FORCE_FEEDBACK_CURL_LOCATION_MIDDLE_CURL_MNDXback to summary
public static final int XR_FORCE_FEEDBACK_CURL_LOCATION_MIDDLE_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback

Enumerant Descriptions
See Also

XrForceFeedbackCurlApplyLocationMNDX

XR_FORCE_FEEDBACK_CURL_LOCATION_RING_CURL_MNDXback to summary
public static final int XR_FORCE_FEEDBACK_CURL_LOCATION_RING_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback

Enumerant Descriptions
See Also

XrForceFeedbackCurlApplyLocationMNDX

XR_FORCE_FEEDBACK_CURL_LOCATION_THUMB_CURL_MNDXback to summary
public static final int XR_FORCE_FEEDBACK_CURL_LOCATION_THUMB_CURL_MNDX

XrForceFeedbackCurlLocationMNDX - Describes which location to apply force feedback

Enumerant Descriptions
See Also

XrForceFeedbackCurlApplyLocationMNDX

XR_MNDX_FORCE_FEEDBACK_CURL_EXTENSION_NAMEback to summary
public static final String XR_MNDX_FORCE_FEEDBACK_CURL_EXTENSION_NAME

The extension name.

XR_MNDX_force_feedback_curl_SPEC_VERSIONback to summary
public static final int XR_MNDX_force_feedback_curl_SPEC_VERSION

The extension specification version.

XR_TYPE_FORCE_FEEDBACK_CURL_APPLY_LOCATIONS_MNDXback to summary
public static final int XR_TYPE_FORCE_FEEDBACK_CURL_APPLY_LOCATIONS_MNDX

Extends XrStructureType.

Enum values:
XR_TYPE_SYSTEM_FORCE_FEEDBACK_CURL_PROPERTIES_MNDXback to summary
public static final int XR_TYPE_SYSTEM_FORCE_FEEDBACK_CURL_PROPERTIES_MNDX

Extends XrStructureType.

Enum values:

Constructor Detail

MNDXForceFeedbackCurlback to summary
protected MNDXForceFeedbackCurl()

Method Detail

nxrApplyForceFeedbackCurlMNDXback to summary
public static int nxrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, long locations)

Unsafe version of: ApplyForceFeedbackCurlMNDX

xrApplyForceFeedbackCurlMNDXback to summary
public static int xrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, XrForceFeedbackCurlApplyLocationsMNDX locations)

Applies force feedback to a set of locations.

C Specification

The ApplyForceFeedbackCurlMNDX function is defined as:


XrResult xrApplyForceFeedbackCurlMNDX(
    XrHandTrackerEXT                            handTracker,
    const XrForceFeedbackCurlApplyLocationsMNDX* locations);
Description

The ApplyForceFeedbackCurlMNDX function applies force feedback to the set locations listed in XrForceFeedbackCurlApplyLocationsMNDX.

ApplyForceFeedbackCurlMNDX should be called every time an application wishes to update a set of force feedback locations.

Submits a request for force feedback for a set of locations. The runtime should deliver this request to the handTracker device. If the handTracker device is not available, the runtime may ignore this request for force feedback.

If the session associated with handTracker is not focused, the runtime must return SESSION_NOT_FOCUSED, and not apply force feedback.

When an application submits force feedback for a set of locations, the runtime must update the set of locations to that specified by the application. A runtime must set any locations not specified by the application when submitting force feedback to 0.

The runtime may discontinue force feedback if the application that set it loses focus. An application should call the function again after regaining focus if force feedback is still desired.

Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

XrForceFeedbackCurlApplyLocationsMNDX

Parameters
handTracker:XrHandTrackerEXT

an XrHandTrackerEXT handle previously created with CreateHandTrackerEXT.

locations:XrForceFeedbackCurlApplyLocationsMNDX

an XrForceFeedbackCurlApplyLocationsMNDX containing a set of locations to apply force feedback to.

Annotations
@NativeType:XrResult