Interface InputCallback


public interface InputCallback
Callback for input of the remote supporter.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Flag indicating that the input is from type mouse.
    static final int
    Flag indicating that the left mouse button is clicked.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onInput(int x, int y, int flags)
    Called when input is received from the remote supporter.
  • Field Details

    • FLAG_MOUSE

      static final int FLAG_MOUSE
      Flag indicating that the input is from type mouse.
      See Also:
    • FLAG_MOUSE_BUTTON_LEFT

      static final int FLAG_MOUSE_BUTTON_LEFT
      Flag indicating that the left mouse button is clicked.
      See Also:
  • Method Details

    • onInput

      void onInput(int x, int y, int flags)
      Called when input is received from the remote supporter.
      Parameters:
      x - The horizontal position of the input
      y - The vertical position of the input
      flags - Flags describing the input