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

Other Languages