Difference between revisions of "love.joystick.getName"
m (1 revision: Importing from potato (again).) |
(Add missing argument) |
||
Line 1: | Line 1: | ||
− | |||
Returns the name of a joystick. | Returns the name of a joystick. | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | name = love.joystick.getName( ) | + | name = love.joystick.getName( joystick ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | + | {{param|number|joystick|The joystick to be checked}} | |
=== Returns === | === Returns === | ||
{{param|string|name|the name}} | {{param|string|name|the name}} |