Package org.lwjglx.input
Class Controller
java.lang.Object
org.lwjglx.input.Controller
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getAxisName
(int int1) float
getAxisValue
(int int1) int
getButtonName
(int int1) float
getDeadZone
(int int1) getGUID()
int
int
int
getID()
getJoystickHats
(int int1, ByteBuffer byteBuffer) float
getPovX()
float
getPovY()
float
float
boolean
isButtonPressed
(int int1) boolean
isButtonRelease
(int int1) boolean
void
poll
(GamepadState gamepadState) void
setDeadZone
(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
-