love.joystick.isDown
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
Checks if a button on a joystick is pressed.
down = love.joystick.isDown( joystick, button )
boolean down