Difference between revisions of "love.joystick.open"
Line 1: | Line 1: | ||
Opens up a joystick to be used, i.e. makes it ready to use. By default joysticks that are available at the start of your game will be opened. | Opens up a joystick to be used, i.e. makes it ready to use. By default joysticks that are available at the start of your game will be opened. | ||
<br><br> | <br><br> | ||
− | NOTE: Unlike conventional Lua indexes, joysticks begin counting from 0. To to open the first joystick, you would use love.joystick.open(0). This is being changed to begin from one in the upcoming LOVE 0.8.0. | + | NOTE: Unlike conventional Lua indexes, joysticks begin counting from 0. To to open the first joystick, you would use love.joystick.open(0). This is being changed to begin from one in the upcoming LOVE 0.8.0 stated [[https://bitbucket.org/rude/love/issue/223/joystick-feedback here]]. |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === |
Revision as of 01:54, 23 May 2011
Opens up a joystick to be used, i.e. makes it ready to use. By default joysticks that are available at the start of your game will be opened.
NOTE: Unlike conventional Lua indexes, joysticks begin counting from 0. To to open the first joystick, you would use love.joystick.open(0). This is being changed to begin from one in the upcoming LOVE 0.8.0 stated [here].
Function
Synopsis
love.joystick.open( joystick )
Arguments
number joystick
- The joystick to be opened
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