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

NAME

6       load_joystick_data - Loads joystick calibration data. Allegro game pro‐
7       gramming library.
8

SYNOPSIS

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

DESCRIPTION

16       Restores calibration data previously stored by save_joystick_data()  or
17       the  setup  utility. This sets up all aspects of the joystick code: you
18       don't even need to call install_joystick() if you are using this  func‐
19       tion. Pass a NULL filename to read the data from the currently selected
20       configuration file.
21

RETURN VALUE

23       Returns zero on success: if it fails the joystick  state  is  undefined
24       and you must reinitialise it from scratch.
25
26

SEE ALSO

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