---
name: "JOYSTICK_BUTTON_INFO"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/JOYSTICK_BUTTON_INFO"
---

# JOYSTICK\_BUTTON\_INFO(3alleg)

Stores joystick button information. Allegro game programming library.

## NAME

JOYSTICK\_BUTTON\_INFO - Stores joystick button information. Allegro game programming library.

## SYNOPSIS

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

**typedef struct JOYSTICK\_BUTTON\_INFO**

## DESCRIPTION

```
   int b;                           - boolean on/off flag
   char *name;                      - description of this
                                      button
```

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

## SEE ALSO

[**joy**(3alleg)](/joy/3alleg.md)
