Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
al_get_hap...om_joystick(3) Library Functions Manual al_get_hap...om_joystick(3)

NAME
     al_get_haptic_from_joystick - Allegro 5 API

SYNOPSIS
	    #include <allegro5/allegro.h>

	    ALLEGRO_HAPTIC *al_get_haptic_from_joystick(ALLEGRO_JOYSTICK *dev)

DESCRIPTION
     If  the joystick has haptic capabilities, returns the associated haptic de-
     vice handle.  Otherwise returns NULL.  It's necessary to  call  this  again
     every  time  the  joystick configuration changes, such as through hot plug-
     ging.  In that case, the old haptic device must be  released  using  al_re-
     lease_haptic(3).

SINCE
     5.1.8

	    [Unstable  API]:  Perhaps could be simplified due to limited support
	    for all the exposed features across all of the platforms.	Awaiting
	    feedback from users.

Allegro reference manual			     al_get_hap...om_joystick(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=al_get_haptic_from_joystick&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help