public enum VRInputType extends java.lang.Enum<VRInputType>
Enum Constant and Description |
---|
OculusBottomButton
The lower (not counting menu) buttons on the Oculus Touch
controllers - A on the right controller, and X on the left.
|
OculusBottomTouch
The capacitive touch sensors on the lower buttons (X and A) of the Oculus Touch.
|
OculusGripAxis
The 'grab' button on the Oculus Touch controllers.
|
OculusIndexPointing
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.
|
OculusIndexTouch
Is the user resting their finger on the trigger of an Oculus Touch controller?
|
OculusMenuButton
The game-usable menu button, under and to the left of the 'X' button on the left controller.
|
OculusThumbrestTouch
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.
|
OculusThumbstickAxis
The thumbstick on the Oculus Touch controllers.
|
OculusThumbstickButton
The 'click' button on the Oculus Touch thumbsticks.
|
OculusThumbstickTouch
The capacitive touch sensors on the thumbsticks of the Oculus Touch.
|
OculusThumbUp
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.
|
OculusTopButton
The upper buttons on the Oculus Touch controllers - B on the right controller, and Y on the left.
|
OculusTopTouch
The capacitive touch sensors on the top buttons (Y and B) of the Oculus Touch.
|
OculusTriggerAxis
The trigger button on the Oculus Touch controllers.
|
ViveGripButton
an HTC vive grip button (about Vive controller).
|
ViveMenuButton
an HTC vive menu button (about Vive controller).
|
ViveTrackpadAxis
an HTC vive trackpad axis (about Vive controller).
|
ViveTriggerAxis
an HTC vive trigger axis (about Vive controller).
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Get the value (code) of the input type.
|
static VRInputType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VRInputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VRInputType ViveTriggerAxis
public static final VRInputType ViveTrackpadAxis
public static final VRInputType ViveGripButton
public static final VRInputType ViveMenuButton
public static final VRInputType OculusThumbstickAxis
public static final VRInputType OculusTriggerAxis
public static final VRInputType OculusGripAxis
public static final VRInputType OculusTopButton
public static final VRInputType OculusBottomButton
public static final VRInputType OculusThumbstickButton
public static final VRInputType OculusMenuButton
public static final VRInputType OculusTopTouch
public static final VRInputType OculusBottomTouch
public static final VRInputType OculusThumbstickTouch
public static final VRInputType OculusThumbrestTouch
public static final VRInputType OculusThumbUp
public static final VRInputType OculusIndexTouch
public static final VRInputType OculusIndexPointing
public static VRInputType[] values()
for (VRInputType c : VRInputType.values()) System.out.println(c);
public static VRInputType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()