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 |