DOKK / manpages / debian 10 / allegro5-doc / ALLEGRO_HAPTIC.3alleg5.en
ALLEGRO_HAPTIC(3alleg5) ALLEGRO_HAPTIC(3alleg5)

ALLEGRO_HAPTIC - Allegro 5 API

#include <allegro5/allegro.h>
typedef struct ALLEGRO_HAPTIC ALLEGRO_HAPTIC;
    

This is an abstract data type representing a haptic device that supports force feedback or vibration.

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.

al_get_haptic_from_joystick(3alleg5)

Allegro reference manual