Interface InputService

    • Method Detail

      • isAltDown

        boolean isAltDown()
      • isAltGrDown

        boolean isAltGrDown()
      • isCtrlDown

        boolean isCtrlDown()
      • isMetaDown

        boolean isMetaDown()
      • isShiftDown

        boolean isShiftDown()
      • isKeyDown

        boolean isKeyDown​(KeyCode code)
      • getDisplay

        Display<?> getDisplay()
        Gets the display associated with the last observed mouse cursor.
        Returns:
        The display in question, or null if the display has been deleted, or the mouse cursor is outside all known displays, or no mouse events have ever been observed.
      • getX

        int getX()
        Gets the last observed X coordinate of the mouse cursor, relative to a specific display.
        See Also:
        getDisplay()
      • getY

        int getY()
        Gets the last observed Y coordinate of the mouse cursor, relative to a specific display.
        See Also:
        getDisplay()