Top Constructors Methods
org.lwjgl.openvr

public Class VRInput

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nVRInput_DecompressSkeletalBoneData(long pvCompressedBuffer, int unCompressedBufferSize, int eTransformSpace, long pTransformArray, int unTransformArrayCount)

Unsafe version of: DecompressSkeletalBoneData

public static int
nVRInput_GetActionBindingInfo(long action, long pOriginInfo, int unBindingInfoSize, int unBindingInfoCount, long punReturnedBindingInfoCount)

Unsafe version of: GetActionBindingInfo

public static int
nVRInput_GetActionHandle(long pchActionName, long pHandle)

Unsafe version of: GetActionHandle

public static int
nVRInput_GetActionOrigins(long actionSetHandle, long digitalActionHandle, long originsOut, int originOutCount)

Unsafe version of: GetActionOrigins

public static int
nVRInput_GetActionSetHandle(long pchActionSetName, long pHandle)

Unsafe version of: GetActionSetHandle

public static int
nVRInput_GetAnalogActionData(long action, long pActionData, int unActionDataSize, long ulRestrictToDevice)

Unsafe version of: GetAnalogActionData

public static int
nVRInput_GetBindingVariant(long ulDevicePath, long pchVariantArray, int unVariantArraySize)

Unsafe version of: GetBindingVariant

public static int
nVRInput_GetBoneCount(long action, long pBoneCount)

Unsafe version of: GetBoneCount

public static int
nVRInput_GetBoneHierarchy(long action, long pParentIndices, int unIndexArrayCount)

Unsafe version of: GetBoneHierarchy

public static int
nVRInput_GetBoneName(long action, int nBoneIndex, long pchBoneName, int unNameBufferSize)

Unsafe version of: GetBoneName

public static int
nVRInput_GetComponentStateForBinding(long pchRenderModelName, long pchComponentName, long pOriginInfo, int unBindingInfoSize, int unBindingInfoCount, long pComponentState)

Unsafe version of: GetComponentStateForBinding

public static int
nVRInput_GetDigitalActionData(long action, long pActionData, int unActionDataSize, long ulRestrictToDevice)

Unsafe version of: GetDigitalActionData

public static int
nVRInput_GetDominantHand(long peDominantHand)

Unsafe version of: GetDominantHand

public static int
nVRInput_GetInputSourceHandle(long pchInputSourcePath, long pHandle)

Unsafe version of: GetInputSourceHandle

public static int
nVRInput_GetOriginLocalizedName(long origin, long pchNameArray, int unNameArraySize, int unStringSectionsToInclude)

Unsafe version of: GetOriginLocalizedName

public static int
nVRInput_GetOriginTrackedDeviceInfo(long origin, long pOriginInfo, int unOriginInfoSize)

Unsafe version of: GetOriginTrackedDeviceInfo

public static int
nVRInput_GetPoseActionDataForNextFrame(long action, int eOrigin, long pActionData, int unActionDataSize, long ulRestrictToDevice)

Unsafe version of: GetPoseActionDataForNextFrame

public static int
nVRInput_GetPoseActionDataRelativeToNow(long action, int eOrigin, float fPredictedSecondsFromNow, long pActionData, int unActionDataSize, long ulRestrictToDevice)

Unsafe version of: GetPoseActionDataRelativeToNow

public static int
nVRInput_GetSkeletalActionData(long action, long pActionData, int unActionDataSize)

Unsafe version of: GetSkeletalActionData

public static int
nVRInput_GetSkeletalBoneData(long action, int eTransformSpace, int eMotionRange, long pTransformArray, int unTransformArrayCount)

Unsafe version of: GetSkeletalBoneData

public static int
nVRInput_GetSkeletalBoneDataCompressed(long action, int eMotionRange, long pvCompressedData, int unCompressedSize, long punRequiredCompressedSize)

Unsafe version of: GetSkeletalBoneDataCompressed

public static int
nVRInput_GetSkeletalReferenceTransforms(long action, int eTransformSpace, int eReferencePose, long pTransformArray, int unTransformArrayCount)

Unsafe version of: GetSkeletalReferenceTransforms

public static int
nVRInput_GetSkeletalSummaryData(long action, int eSummaryType, long pSkeletalSummaryData)

Unsafe version of: GetSkeletalSummaryData

public static int
nVRInput_GetSkeletalTrackingLevel(long action, long pSkeletalTrackingLevel)

Unsafe version of: GetSkeletalTrackingLevel

public static int
nVRInput_OpenBindingUI(long pchAppKey, long ulActionSetHandle, long ulDeviceHandle, boolean bShowOnDesktop)

Unsafe version of: OpenBindingUI

public static int
nVRInput_SetActionManifestPath(long pchActionManifestPath)

Unsafe version of: SetActionManifestPath

public static int
nVRInput_ShowBindingsForActionSet(long pSets, int unSizeOfVRSelectedActionSet_t, int unSetCount, long originToHighlight)

Unsafe version of: ShowBindingsForActionSet

public static int
nVRInput_UpdateActionState(long pSets, int unSizeOfVRSelectedActionSet_t, int unSetCount)

Unsafe version of: UpdateActionState

public static int
VRInput_DecompressSkeletalBoneData(ByteBuffer pvCompressedBuffer, int eTransformSpace, VRBoneTransform.Buffer pTransformArray)

Turns a compressed buffer from GetSkeletalBoneDataCompressed and turns it back into a bone transform array.

public static int
VRInput_GetActionBindingInfo(long action, InputBindingInfo.Buffer pOriginInfo, IntBuffer punReturnedBindingInfoCount)

Retrieves useful information about the bindings for an action.

public static int
VRInput_GetActionHandle(ByteBuffer pchActionName, LongBuffer pHandle)

Returns a handle for an action.

public static int
VRInput_GetActionHandle(CharSequence pchActionName, LongBuffer pHandle)

Returns a handle for an action.

public static int
VRInput_GetActionOrigins(long actionSetHandle, long digitalActionHandle, LongBuffer originsOut)

Retrieve origin handles for an action.

public static int
VRInput_GetActionSetHandle(ByteBuffer pchActionSetName, LongBuffer pHandle)

Returns a handle for an action set.

public static int
VRInput_GetActionSetHandle(CharSequence pchActionSetName, LongBuffer pHandle)

Returns a handle for an action set.

public static int
VRInput_GetAnalogActionData(long action, InputAnalogActionData pActionData, int unActionDataSize, long ulRestrictToDevice)

Reads the state of an analog action given its handle.

public static int
VRInput_GetAnalogActionData(long action, InputAnalogActionData pActionData, long ulRestrictToDevice)

Reads the state of an analog action given its handle.

public static int
VRInput_GetBindingVariant(long ulDevicePath, ByteBuffer pchVariantArray)

Returns the variant set in the current bindings.

public static int
VRInput_GetBoneCount(long action, IntBuffer pBoneCount)

Reads the number of bones in skeleton associated with the given action.

public static int
VRInput_GetBoneHierarchy(long action, IntBuffer pParentIndices)

Fills the given array with the index of each bone's parent in the skeleton associated with the given action.

public static int
VRInput_GetBoneName(long action, int nBoneIndex, ByteBuffer pchBoneName)

Fills the given buffer with the name of the bone at the given index in the skeleton associated with the given action.

public static int
VRInput_GetComponentStateForBinding(ByteBuffer pchRenderModelName, ByteBuffer pchComponentName, InputBindingInfo.Buffer pOriginInfo, RenderModelComponentState.Buffer pComponentState)

Use this to query what action on the component returned by GetOriginTrackedDeviceInfo would trigger this binding.

public static int
VRInput_GetComponentStateForBinding(CharSequence pchRenderModelName, CharSequence pchComponentName, InputBindingInfo.Buffer pOriginInfo, RenderModelComponentState.Buffer pComponentState)

Use this to query what action on the component returned by GetOriginTrackedDeviceInfo would trigger this binding.

public static int
VRInput_GetDigitalActionData(long action, InputDigitalActionData pActionData, int unActionDataSize, long ulRestrictToDevice)

Reads the state of a digital action given its handle.

public static int
VRInput_GetDigitalActionData(long action, InputDigitalActionData pActionData, long ulRestrictToDevice)

Reads the state of a digital action given its handle.

public static int
VRInput_GetDominantHand(IntBuffer peDominantHand)

Returns the current dominant hand for the user for this application.

public static int
VRInput_GetInputSourceHandle(ByteBuffer pchInputSourcePath, LongBuffer pHandle)

Returns a handle for any path in the input system.

public static int
VRInput_GetInputSourceHandle(CharSequence pchInputSourcePath, LongBuffer pHandle)

Returns a handle for any path in the input system.

public static int
VRInput_GetOriginLocalizedName(long origin, ByteBuffer pchNameArray, int
a bitfield of values in EVRInputStringBits that allows the application to specify which parts of the origin's information it wants a string for. One or more of:
VR#EVRInputStringBits_VRInputString_Hand
VR#EVRInputStringBits_VRInputString_ControllerType
VR#EVRInputStringBits_VRInputString_InputSource
VR#EVRInputStringBits_VRInputString_All
unStringSectionsToInclude
)

Retrieves the name of the origin in the current language.

public static int
VRInput_GetOriginTrackedDeviceInfo(long origin, InputOriginInfo pOriginInfo, int unOriginInfoSize)

Retrieves useful information for the origin of this action.

public static int
VRInput_GetOriginTrackedDeviceInfo(long origin, InputOriginInfo pOriginInfo)

Retrieves useful information for the origin of this action.

public static int
VRInput_GetPoseActionDataForNextFrame(long action, int eOrigin, InputPoseActionData pActionData, int unActionDataSize, long ulRestrictToDevice)

Reads the state of a pose action given its handle.

public static int
public static int
VRInput_GetPoseActionDataRelativeToNow(long action, int eOrigin, float fPredictedSecondsFromNow, InputPoseActionData pActionData, int unActionDataSize, long ulRestrictToDevice)

Reads the state of a pose action given its handle for the number of seconds relative to now.

public static int
VRInput_GetPoseActionDataRelativeToNow(long action, int eOrigin, float fPredictedSecondsFromNow, InputPoseActionData pActionData, long ulRestrictToDevice)

Reads the state of a pose action given its handle for the number of seconds relative to now.

public static int
VRInput_GetSkeletalActionData(long action, InputSkeletalActionData pActionData, int unActionDataSize)

Reads the state of a skeletal action given its handle.

public static int
VRInput_GetSkeletalActionData(long action, InputSkeletalActionData pActionData)

Reads the state of a skeletal action given its handle.

public static int
public static int
VRInput_GetSkeletalBoneDataCompressed(long action, int eMotionRange, ByteBuffer pvCompressedData, IntBuffer punRequiredCompressedSize)

Reads the state of the skeletal bone data in a compressed form that is suitable for sending over the network.

public static int
public static int
VRInput_GetSkeletalSummaryData(long action, int eSummaryType, VRSkeletalSummaryData pSkeletalSummaryData)

Reads summary information about the current pose of the skeleton associated with the given action.

public static int
VRInput_GetSkeletalTrackingLevel(long action, IntBuffer pSkeletalTrackingLevel)

Reads the level of accuracy to which the controller is able to track the user to recreate a skeletal pose.

public static int
VRInput_OpenBindingUI(ByteBuffer pchAppKey, long ulActionSetHandle, long ulDeviceHandle, boolean bShowOnDesktop)

Opens the binding user interface.

public static int
VRInput_OpenBindingUI(CharSequence pchAppKey, long ulActionSetHandle, long ulDeviceHandle, boolean bShowOnDesktop)

Opens the binding user interface.

public static int
VRInput_SetActionManifestPath(ByteBuffer pchActionManifestPath)

Sets the path to the action manifest JSON file that is used by this application.

public static int
VRInput_SetActionManifestPath(CharSequence pchActionManifestPath)

Sets the path to the action manifest JSON file that is used by this application.

public static int
public static int
VRInput_ShowActionOrigins(long actionSetHandle, long ulActionHandle)

Shows the current binding for the action in-headset.

public static int
VRInput_ShowBindingsForActionSet(VRActiveActionSet.Buffer pSets, int unSizeOfVRSelectedActionSet_t, long originToHighlight)

Shows the current binding all the actions in the specified action sets.

public static int
VRInput_TriggerHapticVibrationAction(long action, float fStartSecondsFromNow, float fDurationSeconds, float fFrequency, float fAmplitude, long ulRestrictToDevice)

Triggers a haptic event as described by the specified action.

public static int
VRInput_UpdateActionState(VRActiveActionSet.Buffer pSets, int unSizeOfVRSelectedActionSet_t)

Reads the current state into all actions.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait