{{newin|[[0.9.0]]|090|type=function}}
Checks if a virtual gamepad button on the Joystick is pressed. If the Joystick is not recognized as a [[Joystick:isGamepad|Gamepad]] or isn't connected, then this function will always return false.
== Function ==
=== Synopsis ===
<source lang="lua">
anyDown = Joystick:isGamepadDown( button1, button2, button3, ... )
</source>
=== Arguments ===
{{param|GamepadButton|buttonN|The gamepad button to check.}}
=== Returns ===
{{param|boolean|anyDown|True if any supplied button is down, false if not.}}
== See Also ==
* [[parent::Joystick]]
* [[Joystick:isGamepad]]
* [[Joystick:getGamepadAxis]]
* [[Joystick:isConnected]]

* [[love.gamepadpressed]]
* [[love.gamepadreleased]]
[[Category:Functions]]
{{#set:Description=Checks if a virtual gamepad button on the Joystick is pressed.}}
== Other Languages ==
{{i18n|Joystick:isGamepadDown}}