// Returns the amount of buttons on the joystick self. func (self *Joystick) GetNumButtons() int { return int(C.al_get_joystick_num_buttons(self.handle)) }
func (j *Joystick) GetNumButtons() int32 { return int32(C.al_get_joystick_num_buttons((*C.ALLEGRO_JOYSTICK)(unsafe.Pointer(j)))) }