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