---
name: "ALLEGRO_MOUSE_EMULATION_MODE"
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_MOUSE_EMULATION_MODE/3alleg5"
---

# ALLEGRO\_MOUSE\_EMULATION\_MODE(3alleg5)

Allegro 5 API

## NAME

ALLEGRO\_MOUSE\_EMULATION\_MODE - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  typedef enum ALLEGRO_MOUSE_EMULATION_MODE
  ```

## DESCRIPTION

Type of mouse emulation to apply.

- ALLEGRO\_MOUSE\_EMULATION\_NONE

  Disables mouse emulation.

- ALLEGRO\_MOUSE\_EMULATION\_TRANSPARENT

  Enables transparent mouse emulation.

- ALLEGRO\_MOUSE\_EMULATION\_INCLUSIVE

  Enable inclusive mouse emulation.

- ALLEGRO\_MOUSE\_EMULATION\_EXCLUSIVE

  Enables exclusive mouse emulation.

- ALLEGRO\_MOUSE\_EMULATION\_5\_0\_x

  Enables mouse emulation that is backwards compatible with Allegro 5.0.x.

## SINCE

5\.1.0

*\[Unstable API\]:* Seems of limited value, as touch input tends to have different semantics compared to mouse input.
