struct ovrInputState {
double TimeInSeconds;
unsigned int Buttons;
unsigned int Touches;
float IndexTrigger[ovrHand_Count];
float HandTrigger[ovrHand_Count];
ovrVector2f Thumbstick[ovrHand_Count];
ovrControllerType ControllerType;
float IndexTriggerNoDeadzone[ovrHand_Count];
float HandTriggerNoDeadzone[ovrHand_Count];
ovrVector2f ThumbstickNoDeadzone[ovrHand_Count];
float IndexTriggerRaw[ovrHand_Count];
float HandTriggerRaw[ovrHand_Count];
ovrVector2f ThumbstickRaw[ovrHand_Count];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | OVRInputState.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUTTONS
The struct member offsets. |
| public static final int | CONTROLLERTYPE
The struct member offsets. |
| public static final int | HANDTRIGGER
The struct member offsets. |
| public static final int | HANDTRIGGERNODEADZONE
The struct member offsets. |
| public static final int | HANDTRIGGERRAW
The struct member offsets. |
| public static final int | INDEXTRIGGER
The struct member offsets. |
| public static final int | INDEXTRIGGERNODEADZONE
The struct member offsets. |
| public static final int | INDEXTRIGGERRAW
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | THUMBSTICK
The struct member offsets. |
| public static final int | THUMBSTICKNODEADZONE
The struct member offsets. |
| public static final int | THUMBSTICKRAW
The struct member offsets. |
| public static final int | TIMEINSECONDS
The struct member offsets. |
| public static final int | TOUCHES
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OVRInputState(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static OVRInputState | |
| public static OVRInputState. | calloc(int
the buffer capacity capacity)Returns a new |
| public static OVRInputState | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRInputState. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRInputState | |
| public static OVRInputState | |
| public static OVRInputState. | |
| public static OVRInputState. | |
| public int | |
| protected OVRInputState | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static OVRInputState | |
| public static OVRInputState | |
| public static OVRInputState. | create(int
the buffer capacity capacity)Returns a new |
| public static OVRInputState. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static OVRInputState | |
| public static OVRInputState. | |
| public FloatBuffer | HandTrigger()
left and right hand trigger values ( |
| public float | HandTrigger(int index)
left and right hand trigger values ( |
| public FloatBuffer | HandTriggerNoDeadzone()
Left and right hand trigger values ( |
| public float | HandTriggerNoDeadzone(int index)
Left and right hand trigger values ( |
| public FloatBuffer | HandTriggerRaw()
Left and right hand trigger values ( |
| public float | HandTriggerRaw(int index)
Left and right hand trigger values ( |
| public FloatBuffer | IndexTrigger()
left and right finger trigger values ( |
| public float | IndexTrigger(int index)
left and right finger trigger values ( |
| public FloatBuffer | IndexTriggerNoDeadzone()
Left and right finger trigger values ( |
| public float | IndexTriggerNoDeadzone(int index)
Left and right finger trigger values ( |
| public FloatBuffer | IndexTriggerRaw()
Left and right finger trigger values ( |
| public float | IndexTriggerRaw(int index)
Left and right finger trigger values ( |
| public static OVRInputState | |
| public static OVRInputState. | malloc(int
the buffer capacity capacity)Returns a new |
| public static OVRInputState | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRInputState. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRInputState | |
| public static OVRInputState | |
| public static OVRInputState. | |
| public static OVRInputState. | |
| public static int | |
| public static int | |
| public static FloatBuffer | |
| public static float | |
| public static FloatBuffer | |
| public static float | |
| public static FloatBuffer | |
| public static float | |
| public static FloatBuffer | |
| public static float | |
| public static FloatBuffer | |
| public static float | |
| public static FloatBuffer | |
| public static float | |
| public static OVRVector2f. | |
| public static OVRVector2f | |
| public static OVRVector2f. | |
| public static OVRVector2f | |
| public static OVRVector2f. | |
| public static OVRVector2f | |
| public static double | |
| public static int | |
| public int | |
| public OVRVector2f. | Thumbstick()
horizontal and vertical thumbstick axis values ( |
| public OVRVector2f | Thumbstick(int index)
horizontal and vertical thumbstick axis values ( |
| public OVRVector2f. | ThumbstickNoDeadzone()
Horizontal and vertical thumbstick axis values ( |
| public OVRVector2f | ThumbstickNoDeadzone(int index)
Horizontal and vertical thumbstick axis values ( |
| public OVRVector2f. | ThumbstickRaw()
Horizontal and vertical thumbstick axis values ( |
| public OVRVector2f | ThumbstickRaw(int index)
Horizontal and vertical thumbstick axis values ( |
| public double | |
| public int |