1al_release_haptic(3)                                      al_release_haptic(3)
2
3
4

NAME

6       al_release_haptic - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_release_haptic(ALLEGRO_HAPTIC *haptic)
12

DESCRIPTION

14       Releases  the haptic device and its resources when it's not needed any‐
15       more.  Should also be used in case the joystick configuration  changed,
16       such  as  when a joystick is hot plugged.  This function also automati‐
17       cally releases all haptic effects that are still uploaded to the device
18       and   that  have  not  been  released  manually  using  al_release_hap‐
19       tic_effect(3).
20
21       Returns true on success or false  if  the  haptic  device  couldn't  be
22       released  for  any  reason,  such  as NULL being passed, the device not
23       being active or failure in the driver.
24

SINCE

26       5.1.8
27
28              [Unstable API]: Perhaps could be simplified due to limited  sup‐
29              port  for  all the exposed features across all of the platforms.
30              Awaiting feedback from users.
31
32
33
34Allegro reference manual                                  al_release_haptic(3)
Impressum