Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

save_joystick_data(3alleg4) [opendarwin man page]

save_joystick_data(3alleg4)					  Allegro manual				       save_joystick_data(3alleg4)

save_joystick_data - Saves joystick calibration data. Allegro game programming library. 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. RETURN VALUE
Returns zero on success, non-zero if the data could not be saved. SEE ALSO
load_joystick_data(3alleg4), set_config_file(3alleg4) Allegro version 4.4.2 save_joystick_data(3alleg4)

Check Out this Related Man Page

exjoy(3alleg4)							  Allegro manual						    exjoy(3alleg4)

exjoy - Detecting, calibrating and using joystick input. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exjoy DESCRIPTION
This program uses the Allegro library to detect and read the value of a joystick. The output of the program is a small target sight on the screen which you can move. At the same time the program will tell you what you are doing with the joystick (moving or firing). SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_mes- sage(3alleg4), blit(3alleg4), calibrate_joystick(3alleg4), calibrate_joystick_name(3alleg4), circle(3alleg4), clear_bitmap(3alleg4), clear_keybuf(3alleg4), create_bitmap(3alleg4), default_palette(3alleg4), destroy_bitmap(3alleg4), drawing_mode(3alleg4), font(3alleg4), install_joystick(3alleg4), install_keyboard(3alleg4), joy(3alleg4), key(3alleg4), keypressed(3alleg4), num_joysticks(3alleg4), pal- ette_color(3alleg4), poll_joystick(3alleg4), putpixel(3alleg4), readkey(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_pal- ette(3alleg4), textout_centre_ex(3alleg4), textprintf_centre_ex(3alleg4), textprintf_ex(3alleg4) Allegro version 4.4.2 exjoy(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies