Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

remove_joystick(3alleg4) [opendarwin man page]

remove_joystick(3alleg4)					  Allegro manual					  remove_joystick(3alleg4)

remove_joystick - Removes the joystick handler. Allegro game programming library. SYNOPSIS
#include <allegro.h> void remove_joystick(); DESCRIPTION
Removes the joystick handler. You don't normally need to bother calling this, because allegro_exit() will do it for you. SEE ALSO
install_joystick(3alleg4), allegro_exit(3alleg4) Allegro version 4.4.2 remove_joystick(3alleg4)

Check Out this Related Man Page

install_joystick(3alleg4)					  Allegro manual					 install_joystick(3alleg4)

install_joystick - Initialises the joystick. Allegro game programming library. SYNOPSIS
#include <allegro.h> int install_joystick(int type); DESCRIPTION
Installs Allegro's joystick handler, and calibrates the centre position values. The type parameter should usually be JOY_TYPE_AUTODETECT, or see the platform specific documentation for a list of the available drivers. You must call this routine before using any other joystick functions, and you should make sure that all joysticks are in the middle position at the time. Example: textout_centre_ex(screen, font, "Center the joystick and press a key", SCREEN_W/2, SCREEN_H/2, red_color, -1); readkey(); if (install_joystick(JOY_TYPE_AUTODETECT) != 0) abort_on_error("Error initialising joystick!"); RETURN VALUE
Returns zero on success. As soon as you have installed the joystick module, you will be able to read the button state and digital (on/off toggle) direction information, which may be enough for some games. If you want to get full analogue input, though, you need to use the cal- ibrate_joystick() functions to measure the exact range of the inputs: see below. SEE ALSO
remove_joystick(3alleg4), num_joysticks(3alleg4), load_joystick_data(3alleg4), calibrate_joystick(3alleg4), calibrate_joy- stick_name(3alleg4), poll_joystick(3alleg4), exjoy(3alleg4) Allegro version 4.4.2 install_joystick(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