Difference between revisions of "love.joystickhat"
(Created page) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param| | + | {{param|Joystick|joystick|The joystick object.}} |
{{param|number|hat|The hat number.}} | {{param|number|hat|The hat number.}} | ||
− | {{param| | + | {{param|JoystickHat|direction|The new hat direction.}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
Line 16: | Line 16: | ||
[[Category:Callbacks]] | [[Category:Callbacks]] | ||
{{#set:Description=Called when a joystick hat direction changes.}} | {{#set:Description=Called when a joystick hat direction changes.}} | ||
+ | {{#set:Subcategory=Joystick}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.joystickhat}} | {{i18n|love.joystickhat}} |
Latest revision as of 06:57, 31 October 2013
Available since LÖVE 0.9.0 |
This callback is not supported in earlier versions. |
Called when a joystick hat direction changes.
Function
Synopsis
love.joystickhat( joystick, hat, direction )
Arguments
Joystick joystick
- The joystick object.
number hat
- The hat number.
JoystickHat direction
- The new hat direction.
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