Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Checks if a virtual gamepad button on the Joystick is pressed. If the Joystick is not recognized as a Gamepad or isn't connected, then this function will always return false.
anyDown = Joystick:isGamepadDown( button1, button2, button3, ... )
GamepadButton buttonN
boolean anyDown