gamepadTriggerChanged

open override fun gamepadTriggerChanged(button: GameButton, pressure: Float, gamepad: Int): Boolean

Invoked when a GameButton that is considered a trigger is changed / moved.

Return

true if event is handled; false otherwise

Parameters

button

the trigger button that was changed

pressure

the current pressure of the triggered. Any value between 0f to 1f.

gamepad

the index of the gamepad that had the button pressed