Gets the number of buttons on the joystick.
buttons = Joystick:getButtonCount( )
None.
number buttons