// Returns the name of the button on the joystick self. func (self *Joystick) GetButtonName(button int) string { return gostr(C.al_get_joystick_button_name(self.handle, C.int(button))) }
func (j *Joystick) GetButtonName(button int32) string { return C.GoString(C.al_get_joystick_button_name((*C.ALLEGRO_JOYSTICK)(unsafe.Pointer(j)), C.int(button))) }