Difference between revisions of "love.joystick.isDown"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Checks if a button on a joystick is pressed. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 14: | Line 14: | ||
* [[parent::love.joystick]] | * [[parent::love.joystick]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Checks if a button on a joystick is pressed.}} |
Revision as of 16:17, 14 February 2010
Checks if a button on a joystick is pressed.
Function
Synopsis
down = love.joystick.isDown( joystick, button )
Arguments
Returns
boolean down
- True if the button is down, false if it is not