Rechercher une page de manuel
load_joystick_data.3alleg
Langue: en
Version: version 4.2.2 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
load_joystick_data - Loads joystick calibration data. Allegro game programming library.SYNOPSIS
#include <allegro.h>int load_joystick_data(const char *filename);
DESCRIPTION
Restores calibration data previously stored by save_joystick_data() or the setup utility. This sets up all aspects of the joystick code: you don't even need to call install_joystick() if you are using this function. Pass a NULL filename to read the data from the currently selected configuration file.RETURN VALUE
Returns zero on success: if it fails the joystick state is undefined and you must reinitialise it from scratch.SEE ALSO
install_joystick(3alleg), save_joystick_data(3alleg), set_config_file(3alleg)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre