Difference between revisions of "love.joystick.getAxes"
m (1 revision: Importing from potato (again).) |
(Add missing parameter) |
||
Line 1: | Line 1: | ||
− | |||
Returns the position of each axis. | Returns the position of each axis. | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | axisDir1, axisDir2, axisDirN = love.joystick.getAxes( ) | + | axisDir1, axisDir2, axisDirN = love.joystick.getAxes( joystick ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | + | {{param|number|joystick|The joystick to be checked}} | |
=== Returns === | === Returns === | ||
{{param|number|axisDir1|Direction of axis1}} | {{param|number|axisDir1|Direction of axis1}} |