Class JoypadManager.Joypad
java.lang.Object
zombie.input.JoypadManager.Joypad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
float
float
int
int
float
getDeadZone
(int axis) int
getID()
int
getL3()
int
float
float
int
getR3()
int
int
int
int
boolean
boolean
boolean
isButtonPressed
(int button) boolean
isButtonReleasePress
(int button) boolean
isButtonStartPress
(int button) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
onPressed
(int i) void
onPressedAxis
(int i) void
onPressedAxisNeg
(int i) void
void
onPressedTrigger
(int i) void
setDeadZone
(float value) void
setDeadZone
(int axis, float value) boolean
wasButtonPressed
(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()
-