.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_joystick_active" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_joystick_active - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_get_joystick_active(ALLEGRO_JOYSTICK *joy) \f[R] .fi .SH DESCRIPTION .PP Return if the joystick handle is \[lq]active\[rq], 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. .SH SEE ALSO .PP al_reconfigure_joysticks(3alleg5)