Difference between revisions of "love.joystick.getNumButtons"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:17, 14 February 2010

Returns the number of buttons on the joystick.

Function

Synopsis

buttons = love.joystick.getNumButtons( joystick )

Arguments

number joystick
The joystick to be checked

Returns

number buttons
The number of buttons available

See Also