Class Controller
java.lang.Object
org.lwjglx.input.Controller
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetAxisName(int arg0) floatgetAxisValue(int arg0) intgetButtonName(int arg0) floatgetDeadZone(int arg0) getGUID()intintintgetID()getJoystickHats(int arg0, ByteBuffer arg1) floatgetPovX()floatgetPovY()floatfloatbooleanisButtonPressed(int arg0) booleanisButtonRelease(int arg0) booleanvoidpoll(GamepadState arg0) voidsetDeadZone(int arg0, float arg1)
-
Field Details
-
gamepadState
-
-
Constructor Details
-
Controller
public Controller(int arg0)
-
-
Method Details
-
getID
public int getID() -
getGUID
-
isGamepad
public boolean isGamepad() -
getJoystickName
-
getGamepadName
-
getAxisCount
public int getAxisCount() -
getAxisValue
public float getAxisValue(int arg0) -
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 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
-
poll
-