Function
love.joystick.getNumButtons( joystick )
Returns the number of buttons on the joystick.
Synopsis
buttons = love.joystick.getNumButtons( joystick )
Parameters
joystick number The joystick to be checked
Returns
buttons number The number of buttons available
Copyright © 2006-2010 LÖVE Development Team.