al_get_num_joysticks man page on DragonFly
Printed from http://www.polarhome.com/service/man/?qf=al_get_num_joysticks&af=0&tf=2&of=DragonFly
al_get_num_joysticks(3) al_get_num_joysticks(3)
NAME
al_get_num_joysticks - Allegro 5 API
SYNOPSIS
#include <allegro5/allegro.h>
int al_get_num_joysticks(void)
DESCRIPTION
Return the number of joysticks currently on the system (or potentially
on the system). This number can change after al_reconfigure_joy‐
sticks(3) is called, in order to support hotplugging.
Returns 0 if there is no joystick driver installed.
SEE ALSO
al_get_joystick(3), al_get_joystick_active(3)
Allegro reference manual al_get_num_joysticks(3)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|