Difference between revisions of "Joystick:getAxis"
(Created page) |
m |
||
Line 1: | Line 1: | ||
{{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getAxis]]}} | {{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getAxis]]}} | ||
− | Returns the direction of | + | Returns the direction of an axis. |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 15: | Line 15: | ||
* [[Joystick:getAxisCount]] | * [[Joystick:getAxisCount]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Returns the direction of | + | {{#set:Description=Returns the direction of an axis.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|Joystick:getAxis}} | {{i18n|Joystick:getAxis}} |
Revision as of 19:56, 26 August 2013
Available since LÖVE 0.9.0 |
It has been moved from love.joystick.getAxis. |
Returns the direction of an axis.
Function
Synopsis
direction = Joystick:getAxis( axis )
Arguments
number axis
- The index of the axis to be checked.
Returns
number direction
- Current value of the axis.
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