---
name: "JOYSTICK_STICK_INFO"
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/JOYSTICK_STICK_INFO/3alleg4"
---

# JOYSTICK\_STICK\_INFO(3alleg4)

Stores joystick stick information. Allegro game programming library.

## NAME

JOYSTICK\_STICK\_INFO - Stores joystick stick information. Allegro game programming library.

## SYNOPSIS

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

**typedef struct JOYSTICK\_STICK\_INFO**

## DESCRIPTION

```
   int flags;                       - status flags for this
                                      input
   int num_axis;                    - how many axes do we
                                      have? (note the misspelling)
   JOYSTICK_AXIS_INFO axis[n];      - axis state information
   char *name;                      - description of this
                                      input
```

Read chapter "Joystick routines" for a description on how to obtain/use this structure.

## SEE ALSO

**joy**(3alleg4)
