Query: install_keyboard_hooks
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
install_keyboard_hooks(3alleg4) Allegro manual install_keyboard_hooks(3alleg4)NAMEinstall_keyboard_hooks - Installs custom keyboard hooks. Allegro game programming library.SYNOPSIS#include <allegro.h> void install_keyboard_hooks(int (*keypressed)(), int (*readkey)());DESCRIPTIONYou should only use this function if you *aren't* using the rest of the keyboard handler. It should be called in the place of install_key- board(), and lets you provide callback routines to detect and read keypresses, which will be used by the main keypressed() and readkey() functions. This can be useful if you want to use Allegro's GUI code with a custom keyboard handler, as it provides a way for the GUI to get keyboard input from your own code, bypassing the normal Allegro input system.SEE ALSOinstall_keyboard(3alleg4), keypressed(3alleg4), readkey(3alleg4) Allegro version 4.4.2 install_keyboard_hooks(3alleg4)
Related Man Pages |
---|
install_keyboard(3alleg4) - suse |
install_keyboard(3alleg4) - mojave |
install_keyboard(3alleg4) - opendarwin |
install_keyboard(3alleg4) - redhat |
install_keyboard(3alleg4) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Is UNIX an open source OS ? |
Detecting unused variables... |
One instance of comparing grep and awk |
A (ksh) Library For and From UNIX.com |