love.joystick.isDown


Function

Synopsis

down = love.joystick.isDown( joystick, button )

Arguments

number joystick
The joystick to be checked
number button
The button to be checked

Returns

boolean down
True if the button is down, false if it is not

See Also