Class Controller

java.lang.Object
org.lwjglx.input.Controller

public final class Controller extends Object
  • Field Details

  • Constructor Details

    • Controller

      public Controller(int arg0)
  • Method Details

    • getID

      public int getID()
    • getGUID

      public String getGUID()
    • isGamepad

      public boolean isGamepad()
    • getJoystickName

      public String getJoystickName()
    • getGamepadName

      public String getGamepadName()
    • getAxisCount

      public int getAxisCount()
    • getAxisValue

      public float getAxisValue(int arg0)
    • getButtonCount

      public int getButtonCount()
    • getHatCount

      public int getHatCount()
    • getHatState

      public int getHatState()
    • getJoystickHats

      public ByteBuffer getJoystickHats(int arg0, ByteBuffer arg1)
    • getAxisName

      public String getAxisName(int arg0)
    • getXAxisValue

      public float getXAxisValue()
    • getYAxisValue

      public float getYAxisValue()
    • getDeadZone

      public float getDeadZone(int arg0)
    • setDeadZone

      public void setDeadZone(int arg0, float arg1)
    • getPovX

      public float getPovX()
    • getPovY

      public float getPovY()
    • isButtonPressed

      public boolean isButtonPressed(int arg0)
    • isButtonRelease

      public boolean isButtonRelease(int arg0)
    • getButtonName

      public String getButtonName(int arg0)
    • poll

      public void poll(GamepadState arg0)