Class EOS_UI_ReportInputStateOptions
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.ui.options.EOS_UI_ReportInputStateOptions
- Direct Known Subclasses:
EOS_UI_ReportInputStateOptions.ByReference,EOS_UI_ReportInputStateOptions.ByValue
@FieldOrder({"ApiVersion","ButtonDownFlags","IsAcceptIsFaceButtonRight","IsMouseButtonDown","MousePosX","MousePosY","GamepadIndex","LeftStickX","LeftStickY","RightStickX","RightStickY","LeftTrigger","RightTrigger"})
public class EOS_UI_ReportInputStateOptions
extends com.sun.jna.Structure
Input parameters for the EOS_UI_ReportInputState function.
- Since:
- 9/9/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintAPI Version: Set this toEOS_UI_REPORTINPUTSTATE_API_LATEST.intFlags to identify the current buttons which are pressed.static final intThe most recent version of the EOS_UI_ReportInputState API.intThe gamepad or player indexWhether the current platform and configuration uses the right face button as the default accept button.The current state of the mouse button.floatLeft analog stick horizontal movement in [-1, 1].floatLeft analog stick vertical movement in [-1, 1].floatLeft trigger analog value in [0, 1]intThe current x-position of the mouse.intThe current y-position of the mouse.floatRight analog stick horizontal movement in [-1, 1].floatRight analog stick vertical movement in [-1, 1].floatRight trigger analog value in [0, 1]Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
EOS_UI_REPORTINPUTSTATE_API_LATEST
public static final int EOS_UI_REPORTINPUTSTATE_API_LATESTThe most recent version of the EOS_UI_ReportInputState API.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_UI_REPORTINPUTSTATE_API_LATEST. -
ButtonDownFlags
public int ButtonDownFlagsFlags to identify the current buttons which are pressed.- See Also:
-
IsAcceptIsFaceButtonRight
Whether the current platform and configuration uses the right face button as the default accept button. When this flag is true, the right face button is the accept action, and the down face button is the cancel action. When this flag is false, the right face button is the cancel action, and the down face button is the accept action. -
IsMouseButtonDown
The current state of the mouse button. -
MousePosX
public int MousePosXThe current x-position of the mouse. -
MousePosY
public int MousePosYThe current y-position of the mouse. -
GamepadIndex
public int GamepadIndexThe gamepad or player index -
LeftStickX
public float LeftStickXLeft analog stick horizontal movement in [-1, 1]. Negative for left, positive for right -
LeftStickY
public float LeftStickYLeft analog stick vertical movement in [-1, 1]. Negative for up, positive for down -
RightStickX
public float RightStickXRight analog stick horizontal movement in [-1, 1]. Negative for left, positive for right -
RightStickY
public float RightStickYRight analog stick vertical movement in [-1, 1]. Negative for up, positive for down -
LeftTrigger
public float LeftTriggerLeft trigger analog value in [0, 1] -
RightTrigger
public float RightTriggerRight trigger analog value in [0, 1]
-
-
Constructor Details
-
EOS_UI_ReportInputStateOptions
public EOS_UI_ReportInputStateOptions() -
EOS_UI_ReportInputStateOptions
public EOS_UI_ReportInputStateOptions(com.sun.jna.Pointer peer)
-