# 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

##

Category:

- Functions