# File lib/rubygame/joystick.rb, line 179
  def buttons
    SDL.JoystickNumButtons( @struct )
  end