1save_joystick_data(3)           Allegro manual           save_joystick_data(3)
2
3
4

NAME

6       save_joystick_data - Saves joystick calibration data. Allegro game pro‐
7       gramming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int save_joystick_data(const char *filename);
14

DESCRIPTION

16       After all the headache of calibrating the joystick, you may not want to
17       make  your  poor users repeat the process every time they run your pro‐
18       gram.  Call this function to save the joystick  calibration  data  into
19       the  specified  configuration  file, from which it can later be read by
20       load_joystick_data(). Pass a NULL filename to write  the  data  to  the
21       currently selected configuration file.
22

RETURN VALUE

24       Returns zero on success, non-zero if the data could not be saved.
25
26

SEE ALSO

28       load_joystick_data(3), set_config_file(3)
29
30
31
32Allegro                          version 4.4.2           save_joystick_data(3)
Impressum