Example #1
0
func (j *Joystick) IsActive() bool {
	var b bool

	b = bool(C.al_get_joystick_active((*C.ALLEGRO_JOYSTICK)(j)))

	return b
}
Example #2
0
// Returns true if the joystick self is active, false if not.
func (self *Joystick) IsActive() bool {
	return bool(C.al_get_joystick_active(self.handle))
}
Example #3
0
func (j *Joystick) GetActive() bool {
	return bool(C.al_get_joystick_active((*C.ALLEGRO_JOYSTICK)(unsafe.Pointer(j))))
}