---
name: "exjoy"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/exjoy/3alleg4"
---

# exjoy(3alleg4)

Detecting, calibrating and using joystick input. Allegro game programming library.

## NAME

exjoy - Detecting, calibrating and using joystick input. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**Example exjoy**

## DESCRIPTION

This program uses the Allegro library to detect and read the value of a joystick. The output of the program is a small target sight on the screen which you can move. At the same time the program will tell you what you are doing with the joystick (moving or firing).

## SEE ALSO

**BITMAP**(3alleg4), **END\_OF\_MAIN**(3alleg4), **SCREEN\_H**(3alleg4), **SCREEN\_W**(3alleg4), **allegro\_error**(3alleg4), **allegro\_init**(3alleg4), **allegro\_message**(3alleg4), **blit**(3alleg4), **calibrate\_joystick**(3alleg4), **calibrate\_joystick\_name**(3alleg4), **circle**(3alleg4), **clear\_bitmap**(3alleg4), **clear\_keybuf**(3alleg4), **create\_bitmap**(3alleg4), **default\_palette**(3alleg4), **destroy\_bitmap**(3alleg4), **drawing\_mode**(3alleg4), **font**(3alleg4), **install\_joystick**(3alleg4), **install\_keyboard**(3alleg4), **joy**(3alleg4), **key**(3alleg4), **keypressed**(3alleg4), **num\_joysticks**(3alleg4), **palette\_color**(3alleg4), **poll\_joystick**(3alleg4), **putpixel**(3alleg4), **readkey**(3alleg4), **screen**(3alleg4), **set\_gfx\_mode**(3alleg4), **set\_palette**(3alleg4), **textout\_centre\_ex**(3alleg4), **textprintf\_centre\_ex**(3alleg4), **textprintf\_ex**(3alleg4)
