Difference between revisions of "love.joystick.getAxis"

m
Line 14: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the direction of the axis.}}
 
{{#set:Description=Returns the direction of the axis.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.joystick.getAxis}}
 
{{i18n|love.joystick.getAxis}}

Revision as of 10:30, 25 March 2011

Returns the direction of the axis.

Function

Synopsis

direction = love.joystick.getAxis( joystick, axis )

Arguments

number joystick
The joystick to be checked
number axis
The axis to be checked

Returns

number direction
Current value of the axis

See Also


Other Languages