Difference between revisions of "Joystick:getButtonCount"
(Move from love.joystick.getButtonCount) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getNumButtons]]}} | {{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getNumButtons]]}} | ||
− | + | Gets the number of buttons on the joystick. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 9: | Line 9: | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|number|buttons|The number of buttons available}} | + | {{param|number|buttons|The number of buttons available.}} |
== See Also == | == See Also == | ||
* [[parent::Joystick]] | * [[parent::Joystick]] | ||
* [[Joystick:isDown]] | * [[Joystick:isDown]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Gets the number of buttons on the joystick.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|Joystick:getButtonCount}} | {{i18n|Joystick:getButtonCount}} |
Latest revision as of 10:37, 12 September 2013
Available since LÖVE 0.9.0 |
It has been moved from love.joystick.getNumButtons. |
Gets the number of buttons on the joystick.
Function
Synopsis
buttons = Joystick:getButtonCount( )
Arguments
None.
Returns
number buttons
- The number of buttons 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