Joystick:isGamepadDown
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( buttonN )
buttonN GamepadButton The gamepad button to check.
anyDown boolean True if any supplied button is down, false if not.