load_joystick_data (3) - Linux Man Pages
load_joystick_data: Loads joystick calibration data. Allegro game programming library.
NAMEload_joystick_data - Loads joystick calibration data. Allegro game programming library.
DESCRIPTIONRestores 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 VALUEReturns zero on success: if it fails the joystick state is undefined and you must reinitialise it from scratch.
SEE ALSOinstall_joystick(3), save_joystick_data(3), set_config_file(3)
Linux man pages generated by: SysTutorials
Linux Man Pages Copyright Respective Owners. Site Copyright © SysTutorials. All Rights Reserved.