.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_get_haptic_from_joystick" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_haptic_from_joystick - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_HAPTIC *al_get_haptic_from_joystick(ALLEGRO_JOYSTICK *dev) \f[R] .fi .SH DESCRIPTION .PP If the joystick has haptic capabilities, returns the associated haptic device handle. Otherwise returns NULL. It\[cq]s necessary to call this again every time the joystick configuration changes, such as through hot plugging. In that case, the old haptic device must be released using al_release_haptic(3alleg5). .SH SINCE .PP 5.1.8 .RS .PP \f[I][Unstable API]:\f[R] Perhaps could be simplified due to limited support for all the exposed features across all of the platforms. Awaiting feedback from users. .RE