Difference between revisions of "love.joystickaxis"

m (Updated for Joystick objects)
m
Line 16: Line 16:
 
[[Category:Callbacks]]
 
[[Category:Callbacks]]
 
{{#set:Description=Called when a joystick axis moves.}}
 
{{#set:Description=Called when a joystick axis moves.}}
 +
{{#set:Subcategory=Joystick}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.joystickaxis}}
 
{{i18n|love.joystickaxis}}

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 axis moves.

Function

Synopsis

love.joystickaxis( joystick, axis, value )

Arguments

Joystick joystick
The joystick object.
number axis
The axis number.
number value
The new axis value.

Returns

Nothing.

See Also


Other Languages