Query: save_joystick_data
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
save_joystick_data(3alleg4) Allegro manual save_joystick_data(3alleg4)NAMEsave_joystick_data - Saves joystick calibration data. Allegro game programming library.SYNOPSIS#include <allegro.h> int save_joystick_data(const char *filename);DESCRIPTIONAfter all the headache of calibrating the joystick, you may not want to make your poor users repeat the process every time they run your program. Call this function to save the joystick calibration data into the specified configuration file, from which it can later be read by load_joystick_data(). Pass a NULL filename to write the data to the currently selected configuration file.RETURN VALUEReturns zero on success, non-zero if the data could not be saved.SEE ALSOload_joystick_data(3alleg4), set_config_file(3alleg4) Allegro version 4.4.2 save_joystick_data(3alleg4)