ALLEGRO_HAPTIC_CONSTANTS man page

ALLEGRO_HAPTIC_CONSTANTS — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

enum ALLEGRO_HAPTIC_CONSTANTS

Description

This enum contains flags that are used to define haptic effects and capabilities. If the flag is set in the return value of al_get_haptic_capabilities(3), it means the device supports the given effect. The value of these flags should be set into a ALLEGRO_HAPTIC_EFFECT(3) struct to determine what kind of haptic effect should be played.

Since

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.

See Also

al_get_haptic_capabilities(3), ALLEGRO_HAPTIC_EFFECT(3)

Referenced By

al_get_haptic_autocenter(3), al_get_haptic_capabilities(3), al_get_haptic_gain(3), al_is_haptic_capable(3), al_set_haptic_autocenter(3), al_set_haptic_gain(3).

Allegro reference manual