love.joystick.getNumAxes

love.joystick.getNumAxes Removed in LÖVE 0.9.0 It has been moved to Joystick:getAxisCount. Returns the number of axes on the joystick. Function Synopsis axes = love.joystick.getNumAxes( joystick ) Arguments number joystick The joystick to be checked Returns number axes The number of axes available See Also love.joystick

love.joystick.getName

love.joystick.getName Removed in LÖVE 0.9.0 It has been moved to Joystick:getName. Returns the name of a joystick. Function Synopsis name = love.joystick.getName( joystick ) Arguments number joystick The joystick to be checked Returns string name The name See Also love.joystick

love.joystick.getJoysticks

love.joystick.getJoysticks Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets a list of connected Joysticks. Function Synopsis joysticks = love.joystick.getJoysticks( ) Arguments None. Returns table joysticks The list of currently connected Joysticks. Examples function love.draw() local joysticks = love.joystick.getJoysticks() for i, joystick in ipairs(joysticks) do love.graphics.print(joystick:getName(), 10, i * 20) end end See Also

love.joystick.getJoystickCount

love.joystick.getJoystickCount Available since LÖVE 0.9.0 It has been renamed from love.joystick.getNumJoysticks. Gets the number of connected joysticks. Function Synopsis joystickcount = love.joystick.getJoystickCount( ) Arguments None. Returns number joystickcount The number of connected joysticks. See Also love.joystick love.joystick.getJoysticks

love.joystick.getHat

love.joystick.getHat Removed in LÖVE 0.9.0 It has been moved to Joystick:getHat. Returns the direction of a hat. Function Synopsis direction = love.joystick.getHat( joystick, hat ) Arguments number joystick The joystick to be checked number hat The hat to be checked Returns JoystickConstant direction The direction the hat is pushed See Also love.joystick

love.joystick.getBall

love.joystick.getBall Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Returns the change in ball position. Function Synopsis dx, dy = love.joystick.getBall( joystick, ball ) Arguments number joystick The joystick to be checked number ball The ball to be checked Returns number dx Change in x of the ball position. number dy Change in y of the ball position. See Also love.joystick

love.joystick.getAxis

love.joystick.getAxis Removed in LÖVE 0.9.0 It has been moved to Joystick:getAxis. Returns the direction of the axis. Function Synopsis direction = love.joystick.getAxis( joystick, axis ) Arguments number joystick The joystick to be checked number axis The axis to be checked Returns number direction Current value of the axis See Also love.joystick

love.joystick.getAxes

love.joystick.getAxes Removed in LÖVE 0.9.0 It has been moved to Joystick:getAxes. Returns the position of each axis. Function Synopsis axisDir1, axisDir2, axisDirN = love.joystick.getAxes( joystick ) Arguments number joystick The joystick to be checked Returns number axisDir1 Direction of axis1 number axisDir2 Direction of axis2 number axisDirN Direction of axisN See Also love.joystick

love.joystick.close

love.joystick.close Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Closes a joystick, i.e. stop using it for generating events and in query functions. Function Synopsis love.joystick.close( joystick ) Arguments number joystick The joystick to be closed Returns Nothing. See Also love.joystick

love.image.newImageData

love.image.newImageData Creates a new ImageData object. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Function Synopsis imageData = love.image.newImageData( width, height ) Arguments number width The width of the ImageData. number height The height of the ImageData. Returns ImageData imageData The new blank ImageData object. Each pixel's col