Difference between revisions of "Joystick:getHatCount"
(Moved from love.joystick.getHatCount) |
m ('Returns' -> 'Gets') |
||
Line 1: | Line 1: | ||
{{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getNumHats]]}} | {{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getNumHats]]}} | ||
− | + | Gets the number of hats on the joystick. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 14: | Line 14: | ||
* [[Joystick:getHat]] | * [[Joystick:getHat]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Gets the number of hats on the joystick.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|Joystick:getHatCount}} | {{i18n|Joystick:getHatCount}} |
Revision as of 21:43, 26 August 2013
Available since LÖVE 0.9.0 |
It has been moved from love.joystick.getNumHats. |
Gets the number of hats on the joystick.
Function
Synopsis
hats = Joystick:getHatCount( )
Arguments
None.
Returns
number hats
- How many hats the joystick has.
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