Difference between revisions of "love.joystickaxis"

(Created page)
 
m (Updated for Joystick objects)
Line 7: Line 7:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|number|joystick|The joystick number.}}
+
{{param|Joystick|joystick|The joystick object.}}
 
{{param|number|axis|The axis number.}}
 
{{param|number|axis|The axis number.}}
 
{{param|number|value|The new axis value.}}
 
{{param|number|value|The new axis value.}}

Revision as of 01:10, 26 August 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