Constructor and Description |
---|
GamepadButton(GamepadEx gamepad,
GamepadKeys.Button button)
Creates a gamepad button for triggering commands.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get()
Gets the value of the joystick button.
|
cancelWhenPressed, toggleWhenPressed, toggleWhenPressed, whenHeld, whenHeld, whenPressed, whenPressed, whenPressed, whenReleased, whenReleased, whenReleased, whileHeld, whileHeld, whileHeld
and, cancelWhenActive, negate, or, toggleWhenActive, toggleWhenActive, whenActive, whenActive, whenActive, whenInactive, whenInactive, whenInactive, whileActiveContinuous, whileActiveContinuous, whileActiveContinuous, whileActiveOnce, whileActiveOnce
public GamepadButton(GamepadEx gamepad, GamepadKeys.Button button)
gamepad
- the gamepad with the buttonsbutton
- the specified button