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 Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    API Version: Set this to EOS_UI_REPORTINPUTSTATE_API_LATEST.
    int
    Flags to identify the current buttons which are pressed.
    static final int
    The most recent version of the EOS_UI_ReportInputState API.
    int
    The gamepad or player index
    Whether the current platform and configuration uses the right face button as the default accept button.
    The current state of the mouse button.
    float
    Left analog stick horizontal movement in [-1, 1].
    float
    Left analog stick vertical movement in [-1, 1].
    float
    Left trigger analog value in [0, 1]
    int
    The current x-position of the mouse.
    int
    The current y-position of the mouse.
    float
    Right analog stick horizontal movement in [-1, 1].
    float
    Right analog stick vertical movement in [-1, 1].
    float
    Right 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
    Constructor
    Description
     
    EOS_UI_ReportInputStateOptions(com.sun.jna.Pointer peer)
     
  • 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • EOS_UI_REPORTINPUTSTATE_API_LATEST

      public static final int EOS_UI_REPORTINPUTSTATE_API_LATEST
      The most recent version of the EOS_UI_ReportInputState API.
      See Also:
    • ApiVersion

      public int ApiVersion
      API Version: Set this to EOS_UI_REPORTINPUTSTATE_API_LATEST.
    • ButtonDownFlags

      public int ButtonDownFlags
      Flags to identify the current buttons which are pressed.
      See Also:
    • IsAcceptIsFaceButtonRight

      public EOS_Bool 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

      public EOS_Bool IsMouseButtonDown
      The current state of the mouse button.
    • MousePosX

      public int MousePosX
      The current x-position of the mouse.
    • MousePosY

      public int MousePosY
      The current y-position of the mouse.
    • GamepadIndex

      public int GamepadIndex
      The gamepad or player index
    • LeftStickX

      public float LeftStickX
      Left analog stick horizontal movement in [-1, 1]. Negative for left, positive for right
    • LeftStickY

      public float LeftStickY
      Left analog stick vertical movement in [-1, 1]. Negative for up, positive for down
    • RightStickX

      public float RightStickX
      Right analog stick horizontal movement in [-1, 1]. Negative for left, positive for right
    • RightStickY

      public float RightStickY
      Right analog stick vertical movement in [-1, 1]. Negative for up, positive for down
    • LeftTrigger

      public float LeftTrigger
      Left trigger analog value in [0, 1]
    • RightTrigger

      public float RightTrigger
      Right 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)