love.keyboard.isDown
Checks whether a certain key is down. Not to be confused with love.keypressed or love.keyreleased.
down = love.keyboard.isDown( key )
key KeyConstant The key to check.
down boolean True if the key is down, false if not.
anyDown = love.keyboard.isDown( key, ... )
key KeyConstant A key to check.
... KeyConstant Additional keys to check.
anyDown boolean True if any supplied key is down, false if not.