table of contents
other versions
- bookworm 2:5.2.8.0+dfsg-1
- testing 2:5.2.9.1+dfsg-1
- unstable 2:5.2.9.1+dfsg-1.1
- experimental 2:5.2.9.1+dfsg-1.1~exp2
al_get_joystick_active(3alleg5) | al_get_joystick_active(3alleg5) |
NAME¶
al_get_joystick_active - Allegro 5 API
SYNOPSIS¶
-
#include <allegro5/allegro.h> bool al_get_joystick_active(ALLEGRO_JOYSTICK *joy)
DESCRIPTION¶
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(3alleg5) returns active handles. After reconfiguration, active handles may become inactive, and vice versa.
SEE ALSO¶
al_reconfigure_joysticks(3alleg5)
Allegro reference manual |