Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
load_joystick_data(3)		Allegro	manual		 load_joystick_data(3)

NAME
       load_joystick_data - Loads joystick calibration data. Allegro game pro-
       gramming	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 func-
       tion. 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(3), save_joystick_data(3), set_config_file(3)

Allegro				 version 4.4.3		 load_joystick_data(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=load_joystick_data&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help