Difference between revisions of "love.joystickpressed"
(Added new 0.9.0 version) |
|||
Line 1: | Line 1: | ||
Called when a joystick button is pressed. | Called when a joystick button is pressed. | ||
== Function == | == Function == | ||
+ | {{newin|[[0.9.0]]|090|type=variant}} | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | love.joystickpressed( joystick, button ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | {{param|Joystick|joystick|The joystick object.}} | ||
+ | {{param|number|button|The button number.}} | ||
+ | === Returns === | ||
+ | Nothing. | ||
+ | == Function == | ||
+ | {{oldin|[[0.9.0]]|090|type=variant}} | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> |
Revision as of 07:49, 26 August 2013
Called when a joystick button is pressed.
Contents
Function
Available since LÖVE 0.9.0 |
This variant is not supported in earlier versions. |
Synopsis
love.joystickpressed( joystick, button )
Arguments
Returns
Nothing.
Function
Removed in LÖVE 0.9.0 |
This variant is not supported in that and later versions. |
Synopsis
love.joystickpressed( joystick, button )
Arguments
Returns
Nothing.
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