ALLEGRO_HAPTIC_CONSTANTS(3) ALLEGRO_HAPTIC_CONSTANTS(3) NAME ALLEGRO_HAPTIC_CONSTANTS - Allegro 5 API SYNOPSIS #include 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. o ALLEGRO_HAPTIC_RUMBLE - simple vibration effects o ALLEGRO_HAPTIC_PERIODIC - periodic, wave-form effects o ALLEGRO_HAPTIC_CONSTANT - constant effects o ALLEGRO_HAPTIC_SPRING - spring effects o ALLEGRO_HAPTIC_FRICTION - friction effects o ALLEGRO_HAPTIC_DAMPER - damper effects o ALLEGRO_HAPTIC_INERTIA - inertia effects o ALLEGRO_HAPTIC_RAMP - ramp effects o ALLEGRO_HAPTIC_SQUARE - square wave periodic effect o ALLEGRO_HAPTIC_TRIANGLE - triangle wave periodic effect o ALLEGRO_HAPTIC_SINE - sine wave periodic effect o ALLEGRO_HAPTIC_SAW_UP - upwards saw wave periodic effect o ALLEGRO_HAPTIC_SAW_DOWN - downwards saw wave periodic effect o ALLEGRO_HAPTIC_CUSTOM - custom wave periodic effect o ALLEGRO_HAPTIC_GAIN - the haptic device supports gain setting o ALLEGRO_HAPTIC_ANGLE - the haptic device supports angle coordinates o ALLEGRO_HAPTIC_RADIUS - the haptic device supports radius coordinates o ALLEGRO_HAPTIC_AZIMUTH - the haptic device supports azimuth coordinates o ALLEGRO_HAPTIC_AUTOCENTER 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) Allegro reference manual ALLEGRO_HAPTIC_CONSTANTS(3)