Package org.lwjglx.input
Class Controller
java.lang.Object
org.lwjglx.input.Controller
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetAxisName(int int1) floatgetAxisValue(int int1) intgetButtonName(int int1) floatgetDeadZone(int int1) getGUID()intintintgetID()getJoystickHats(int int1, ByteBuffer byteBuffer) floatgetPovX()floatgetPovY()floatfloatbooleanisButtonPressed(int int1) booleanisButtonRelease(int int1) booleanvoidpoll(GamepadState gamepadState) voidsetDeadZone(int int1, float float1)
-
Field Details
-
gamepadState
-
-
Constructor Details
-
Controller
public Controller(int int1)
-
-
Method Details
-
getID
public int getID() -
getGUID
-
isGamepad
public boolean isGamepad() -
getJoystickName
-
getGamepadName
-
getAxisCount
public int getAxisCount() -
getAxisValue
public float getAxisValue(int int1) -
getButtonCount
public int getButtonCount() -
getHatCount
public int getHatCount() -
getHatState
public int getHatState() -
getJoystickHats
-
getAxisName
-
getXAxisValue
public float getXAxisValue() -
getYAxisValue
public float getYAxisValue() -
getDeadZone
public float getDeadZone(int int1) -
setDeadZone
public void setDeadZone(int int1, float float1) -
getPovX
public float getPovX() -
getPovY
public float getPovY() -
isButtonPressed
public boolean isButtonPressed(int int1) -
isButtonRelease
public boolean isButtonRelease(int int1) -
getButtonName
-
poll
-