Example #1
0
func (j *Joystick) GetName() string {
	var cs *C.char

	cs = C.al_get_joystick_name((*C.ALLEGRO_JOYSTICK)(j))

	return C.GoString(cs)
}
Example #2
0
// Returns the name of the joystick self.
func (self *Joystick) GetName() string {
	return gostr(C.al_get_joystick_name(self.handle))
}
Example #3
0
func (j *Joystick) GetName() string {
	return C.GoString(C.al_get_joystick_name((*C.ALLEGRO_JOYSTICK)(unsafe.Pointer(j))))
}