---
name: "ALLEGRO_HAPTIC"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ALLEGRO_HAPTIC/3alleg5"
---

# ALLEGRO\_HAPTIC(3alleg5)

Allegro 5 API

## NAME

ALLEGRO\_HAPTIC - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

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

## 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\_from\_joystick(3alleg5)
