Class Input

java.lang.Object
zombie.core.input.Input

public class Input
extends java.lang.Object
  • Field Details

  • Constructor Details

    • Input

      public Input​(int int1)
  • Method Details

    • disableControllers

      public static void disableControllers()
    • setDoubleClickInterval

      public void setDoubleClickInterval​(int int1)
    • setMouseClickTolerance

      public void setMouseClickTolerance​(int int1)
    • setScale

      public void setScale​(float float1, float float2)
    • setOffset

      public void setOffset​(float float1, float float2)
    • resetInputTransform

      public void resetInputTransform()
    • addListener

      public void addListener​(InputListener inputListener)
    • addKeyListener

      public void addKeyListener​(KeyListener keyListener)
    • addMouseListener

      public void addMouseListener​(MouseListener mouseListener)
    • addControllerListener

      public void addControllerListener​(ControllerListener controllerListener)
    • removeAllListeners

      public void removeAllListeners()
    • removeAllKeyListeners

      public void removeAllKeyListeners()
    • removeAllMouseListeners

      public void removeAllMouseListeners()
    • removeAllControllerListeners

      public void removeAllControllerListeners()
    • addPrimaryListener

      public void addPrimaryListener​(InputListener inputListener)
    • removeListener

      public void removeListener​(InputListener inputListener)
    • removeKeyListener

      public void removeKeyListener​(KeyListener keyListener)
    • removeControllerListener

      public void removeControllerListener​(ControllerListener controllerListener)
    • removeMouseListener

      public void removeMouseListener​(MouseListener mouseListener)
    • getKeyName

      public static java.lang.String getKeyName​(int int1)
    • isKeyPressed

      public boolean isKeyPressed​(int int1)
    • isMousePressed

      public boolean isMousePressed​(int int1)
    • isControlPressed

      public boolean isControlPressed​(int int1)
    • isControlPressed

      public boolean isControlPressed​(int int1, int int2)
    • clearControlPressedRecord

      public void clearControlPressedRecord()
    • clearKeyPressedRecord

      public void clearKeyPressedRecord()
    • clearMousePressedRecord

      public void clearMousePressedRecord()
    • isKeyDown

      public boolean isKeyDown​(int int1)
    • getAbsoluteMouseX

      public int getAbsoluteMouseX()
    • getAbsoluteMouseY

      public int getAbsoluteMouseY()
    • getMouseX

      public int getMouseX()
    • getMouseY

      public int getMouseY()
    • isMouseButtonDown

      public boolean isMouseButtonDown​(int int1)
    • getControllerCount

      public int getControllerCount()
    • getAxisCount

      public int getAxisCount​(int int1)
    • getAxisValue

      public float getAxisValue​(int int1, int int2)
    • getAxisName

      public java.lang.String getAxisName​(int int1, int int2)
    • isControllerLeft

      public boolean isControllerLeft​(int int1)
    • isControllerLeftD

      public boolean isControllerLeftD​(int int1)
    • isControllerRight

      public boolean isControllerRight​(int int1)
    • isControllerRightD

      public boolean isControllerRightD​(int int1)
    • isControllerUp

      public boolean isControllerUp​(int int1)
    • isControllerUpD

      public boolean isControllerUpD​(int int1)
    • isControllerDown

      public boolean isControllerDown​(int int1)
    • isControllerDownD

      public boolean isControllerDownD​(int int1)
    • isButtonPressed

      public boolean isButtonPressed​(int int1, int int2)
    • isButtonPressedD

      public boolean isButtonPressedD​(int int1, int int2)
    • isButton1Pressed

      public boolean isButton1Pressed​(int int1)
    • isButton2Pressed

      public boolean isButton2Pressed​(int int1)
    • isButton3Pressed

      public boolean isButton3Pressed​(int int1)
    • initControllers

      public void initControllers()
    • consumeEvent

      public void consumeEvent()
    • considerDoubleClick

      public void considerDoubleClick​(int int1, int int2, int int3)
    • poll

      public void poll​(int int1, int int2)
    • enableKeyRepeat

      public void enableKeyRepeat​(int int1, int int2)
    • enableKeyRepeat

      public void enableKeyRepeat()
    • disableKeyRepeat

      public void disableKeyRepeat()
    • isKeyRepeatEnabled

      public boolean isKeyRepeatEnabled()
    • pause

      public void pause()
    • resume

      public void resume()
    • getController

      public org.lwjgl.input.Controller getController​(int int1)
    • getButtonCount

      public int getButtonCount​(int int1)
    • getButtonName

      public java.lang.String getButtonName​(int int1, int int2)