Exemple #1
0
// Returns the joystick flags for the numbered stick on the joystick self.
func (self *Joystick) GetStickFlags(stick int) int {
	return int(C.al_get_joystick_stick_flags(self.handle, C.int(stick)))
}
Exemple #2
0
func (j *Joystick) GetStickFlags(stick int32) int32 {
	return int32(C.al_get_joystick_stick_flags((*C.ALLEGRO_JOYSTICK)(unsafe.Pointer(j)), C.int(stick)))
}