love.joystick.getNumButtons


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