1al_get_haptic_from_joystick(3)                  al_get_haptic_from_joystick(3)
2
3
4

NAME

6       al_get_haptic_from_joystick - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              ALLEGRO_HAPTIC *al_get_haptic_from_joystick(ALLEGRO_JOYSTICK *dev)
12

DESCRIPTION

14       If  the joystick has haptic capabilities, returns the associated haptic
15       device handle.  Otherwise returns NULL.  It's neccesary  to  call  this
16       again  every  time  the joystick configuration changes, such as through
17       hot plugging.  In that case, the old haptic  device  must  be  released
18       using al_release_haptic(3).
19

SINCE

21       5.1.8
22
23              [Unstable  API]: Perhaps could be simplified due to limited sup‐
24              port for all the exposed features across all of  the  platforms.
25              Awaiting feedback from users.
26
27
28
29Allegro reference manual                        al_get_haptic_from_joystick(3)
Impressum