Package com.jme3.input.vr
Enum Class VRInputType
- All Implemented Interfaces:
- Serializable,- Comparable<VRInputType>,- Constable
Deprecated.
The type of a VR input. This enumeration enables to determine which part of the VR device is involved within input callback.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDeprecated.The lower (not counting menu) buttons on the Oculus Touch controllers - A on the right controller, and X on the left.Deprecated.The capacitive touch sensors on the lower buttons (X and A) of the Oculus Touch.Deprecated.The 'grab' button on the Oculus Touch controllers.Deprecated.Is the user pointing their finger forwards, as if to press a button? This is internally calculated from proximity and filtering is applied - it should be used rather than !OculusIndexTouch, as it will probably lead to better results.Deprecated.Is the user resting their finger on the trigger of an Oculus Touch controller?Deprecated.The game-usable menu button, under and to the left of the 'X' button on the left controller.Deprecated.The capacitive touch sensors on the thumbrests of the Oculus Touch - this is a textured pad on the Oculus Touch controller next to the ABXY buttons for users to reset their thumbs on.Deprecated.The thumbstick on the Oculus Touch controllers.Deprecated.The 'click' button on the Oculus Touch thumbsticks.Deprecated.The capacitive touch sensors on the thumbsticks of the Oculus Touch.Deprecated.The state of a software calculation based on the capacitive touch sensor values that determine if the user has lifted their thumb off the controller, and can be used for gesture support.Deprecated.The upper buttons on the Oculus Touch controllers - B on the right controller, and Y on the left.Deprecated.The capacitive touch sensors on the top buttons (Y and B) of the Oculus Touch.Deprecated.The trigger button on the Oculus Touch controllers.Deprecated.an HTC vive grip button (about Vive controller).Deprecated.an HTC vive menu button (about Vive controller).Deprecated.an HTC vive trackpad axis (about Vive controller).Deprecated.an HTC vive trigger axis (about Vive controller).
- 
Method SummaryModifier and TypeMethodDescriptionintgetValue()Deprecated.Get the value (code) of the input type.static VRInputTypeDeprecated.Returns the enum constant of this class with the specified name.static VRInputType[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ViveTriggerAxisDeprecated.an HTC vive trigger axis (about Vive controller).
- 
ViveTrackpadAxisDeprecated.an HTC vive trackpad axis (about Vive controller).
- 
ViveGripButtonDeprecated.an HTC vive grip button (about Vive controller).
- 
ViveMenuButtonDeprecated.an HTC vive menu button (about Vive controller).
- 
OculusThumbstickAxisDeprecated.The thumbstick on the Oculus Touch controllers. Unlike the Vive controllers where the touchpad is commonly used as a virtual DPad, you should avoid using the thumbstick for purposes that do not require analog input.
- 
OculusTriggerAxisDeprecated.The trigger button on the Oculus Touch controllers. This is the button under the user's index finger, and should not be used to pick up objects. See the Oculus Developer documentation.
- 
OculusGripAxisDeprecated.The 'grab' button on the Oculus Touch controllers. This button should only (unless you have a compelling reason otherwise) be used to pick up objects.
- 
OculusTopButtonDeprecated.The upper buttons on the Oculus Touch controllers - B on the right controller, and Y on the left.
- 
OculusBottomButtonDeprecated.The lower (not counting menu) buttons on the Oculus Touch controllers - A on the right controller, and X on the left.
- 
OculusThumbstickButtonDeprecated.The 'click' button on the Oculus Touch thumbsticks.
- 
OculusMenuButtonDeprecated.The game-usable menu button, under and to the left of the 'X' button on the left controller. Most games use this to pause - it preferably should be used for at least that purpose, and is uncomfortable to rest your thumb on (in games where you suddenly have to pause/open a menu).
- 
OculusTopTouchDeprecated.The capacitive touch sensors on the top buttons (Y and B) of the Oculus Touch.
- 
OculusBottomTouchDeprecated.The capacitive touch sensors on the lower buttons (X and A) of the Oculus Touch.
- 
OculusThumbstickTouchDeprecated.The capacitive touch sensors on the thumbsticks of the Oculus Touch.
- 
OculusThumbrestTouchDeprecated.The capacitive touch sensors on the thumbrests of the Oculus Touch - this is a textured pad on the Oculus Touch controller next to the ABXY buttons for users to reset their thumbs on. While it probably goes without saying, only use this for gesture support and do not bind game elements to it.
- 
OculusThumbUpDeprecated.The state of a software calculation based on the capacitive touch sensor values that determine if the user has lifted their thumb off the controller, and can be used for gesture support. This should be used instead of calculating this yourself based on the touch results of all the other parts of the controller.
- 
OculusIndexTouchDeprecated.Is the user resting their finger on the trigger of an Oculus Touch controller?
- 
OculusIndexPointingDeprecated.Is the user pointing their finger forwards, as if to press a button? This is internally calculated from proximity and filtering is applied - it should be used rather than !OculusIndexTouch, as it will probably lead to better results.
 
- 
- 
Method Details- 
valuesDeprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfDeprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getValuepublic int getValue()Deprecated.Get the value (code) of the input type.- Returns:
- the value (code) of the input type.
 
 
-