love.joystick.isDown( joystick, button )
Checks if a button on a joystick is pressed.
Synopsis
down = love.joystick.isDown( joystick, button )
Parameters
joystick |
number |
The joystick to be checked |
button |
number |
The button to be checked |
Returns
down |
boolean |
True if the button is down, false if it is not |