save_joystick_data   (3alleg) manpage
save_joystick_data
3alleg
version 4.1.15 (CVS)
Allegro
Allegro manual
  • NAME
      save_joystick_data
  • SYNOPSIS
      #include <allegro.h>


      int save_joystick_data(const char *filename);
  • DESCRIPTION
      After 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. Returns zero on success.
  • SEE ALSO
      load_joystick_data (3alleg), set_config_file (3alleg)
Current Users: 29 © 1999-2006 Linux.com.hk PenguinSoft
All trademarks and copyrights on this page are owned by their respective companies. Linux is a trademark of Linus Torvalds.