Difference between revisions of "love.joystick.getJoystickCount"
(Created page) |
m (Tweaked description) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[love.joystick.getNumJoysticks]]}} | {{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[love.joystick.getNumJoysticks]]}} | ||
− | + | Gets the number of connected joysticks. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | joystickcount = love.joystick.getJoystickCount( ) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|number| | + | {{param|number|joystickcount|The number of connected joysticks.}} |
== See Also == | == See Also == | ||
* [[parent::love.joystick]] | * [[parent::love.joystick]] | ||
+ | * [[love.joystick.getJoysticks]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Gets the number of connected joysticks.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|love.joystick.getJoystickCount}} | {{i18n|love.joystick.getJoystickCount}} |
Latest revision as of 00:39, 27 August 2013
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info