Difference between revisions of "Joystick:getAxisCount"
m (moved love.joystick.getAxisCount to Joystick:getAxisCount: function has been moved) |
m ('Returns' -> 'Gets') |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[0.9.0]]|090|type=function|text=It has been | + | {{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getNumAxes]]}} |
− | + | Gets the number of axes on the joystick. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | axes = | + | axes = Joystick:getAxisCount( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | + | None. | |
=== Returns === | === Returns === | ||
− | {{param|number|axes|The number of axes available}} | + | {{param|number|axes|The number of axes available.}} |
== See Also == | == See Also == | ||
− | * [[parent:: | + | * [[parent::Joystick]] |
+ | * [[Joystick:getAxis]] | ||
+ | * [[Joystick:getAxes]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Gets the number of axes on the joystick.}} |
== Other Languages == | == Other Languages == | ||
− | {{i18n| | + | {{i18n|Joystick:getAxisCount}} |
Latest revision as of 21:42, 26 August 2013
Available since LÖVE 0.9.0 |
It has been moved from love.joystick.getNumAxes. |
Gets the number of axes on the joystick.
Function
Synopsis
axes = Joystick:getAxisCount( )
Arguments
None.
Returns
number axes
- The number of axes available.
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