al_get_joystick_active(3)

al_get_joystick_active3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
bool al_get_joystick_active(ALLEGRO_JOYSTICK *joy)

Overview

Return if the joystick handle is “active”, i.e. in the current configuration, the handle represents some physical device plugged into the system. al_get_joystick(3) returns active handles. After reconfiguration, active handles may become inactive, and vice versa.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.