1al_is_haptic_capable(3) al_is_haptic_capable(3)
2
3
4
6 al_is_haptic_capable - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 bool al_is_haptic_capable(ALLEGRO_HAPTIC * hap, int query) {
12
14 Returns true if the haptic device supports the feature indicated by the
15 query parameter, false if the feature is not supported. The query
16 parameter must be one of the values of ALLEGRO_HAPTIC_CONSTANTS(3).
17
19 5.1.9
20
21 [Unstable API]: Perhaps could be simplified due to limited sup‐
22 port for all the exposed features across all of the platforms.
23 Awaiting feedback from users.
24
26 al_get_haptic_capabilities(3)
27
28
29
30Allegro reference manual al_is_haptic_capable(3)