getInputButton
getInputButton
Description
Get joystick/gamepad button value
Definition
getInputButton(integer buttonNumber, integer gamepadIndex)
Arguments
| integer | buttonNumber | buttonNumber |
|---|---|---|
| integer | gamepadIndex | gamepadIndex |
Return Values
| float | buttonValue | buttonValue |
|---|