Difference between revisions of "love.gamepadaxis"
m |
m (Fixed arguments) |
||
Line 4: | Line 4: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | love.gamepadaxis( joystick, axis ) | + | love.gamepadaxis( joystick, axis, value ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
{{param|Joystick|joystick|The joystick object.}} | {{param|Joystick|joystick|The joystick object.}} | ||
{{param|GamepadAxis|axis|The virtual gamepad axis.}} | {{param|GamepadAxis|axis|The virtual gamepad axis.}} | ||
+ | {{param|number|value|The new axis value.}} | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. |
Revision as of 01:47, 27 March 2014
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Called when a Joystick's virtual gamepad axis is moved.
Function
Synopsis
love.gamepadaxis( joystick, axis, value )
Arguments
Joystick joystick
- The joystick object.
GamepadAxis axis
- The virtual gamepad axis.
number value
- The new axis value.
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