Spec-Zone.ru › LÖVE

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

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.joystick.getJoystickCount

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API