Class JoypadManager.Joypad
java.lang.Object
zombie.input.JoypadManager.Joypad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfloatfloatintintfloatgetDeadZone(int axis) intgetID()intgetL3()intfloatfloatintgetR3()intintintintbooleanbooleanbooleanisButtonPressed(int button) booleanisButtonReleasePress(int button) booleanisButtonStartPress(int button) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidonPressed(int i) voidonPressedAxis(int i) voidonPressedAxisNeg(int i) voidvoidonPressedTrigger(int i) voidsetDeadZone(float value) voidsetDeadZone(int axis, float value) booleanwasButtonPressed(int button)
-
Constructor Details
-
Joypad
public Joypad()
-
-
Method Details
-
isDownPressed
public boolean isDownPressed() -
isUpPressed
public boolean isUpPressed() -
isRightPressed
public boolean isRightPressed() -
isLeftPressed
public boolean isLeftPressed() -
isLBPressed
public boolean isLBPressed() -
isRBPressed
public boolean isRBPressed() -
isL3Pressed
public boolean isL3Pressed() -
isR3Pressed
public boolean isR3Pressed() -
isRTPressed
public boolean isRTPressed() -
isLTPressed
public boolean isLTPressed() -
isAPressed
public boolean isAPressed() -
isBPressed
public boolean isBPressed() -
isXPressed
public boolean isXPressed() -
isYPressed
public boolean isYPressed() -
isButtonPressed
public boolean isButtonPressed(int button) -
wasButtonPressed
public boolean wasButtonPressed(int button) -
isButtonStartPress
public boolean isButtonStartPress(int button) -
isButtonReleasePress
public boolean isButtonReleasePress(int button) -
getMovementAxisX
public float getMovementAxisX() -
getMovementAxisY
public float getMovementAxisY() -
getAimingAxisX
public float getAimingAxisX() -
getAimingAxisY
public float getAimingAxisY() -
onPressed
public void onPressed(int i) -
onPressedAxis
public void onPressedAxis(int i) -
onPressedAxisNeg
public void onPressedAxisNeg(int i) -
onPressedTrigger
public void onPressedTrigger(int i) -
onPressedPov
public void onPressedPov() -
getDeadZone
public float getDeadZone(int axis) -
setDeadZone
public void setDeadZone(int axis, float value) -
setDeadZone
public void setDeadZone(float value) -
getID
public int getID() -
isDisabled
public boolean isDisabled() -
getAButton
public int getAButton() -
getBButton
public int getBButton() -
getXButton
public int getXButton() -
getYButton
public int getYButton() -
getLBumper
public int getLBumper() -
getRBumper
public int getRBumper() -
getL3
public int getL3() -
getR3
public int getR3() -
getBackButton
public int getBackButton() -
getStartButton
public int getStartButton()
-