install_keyboard_hooks man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

install_keyboard_hooks(3)	Allegro manual	     install_keyboard_hooks(3)

NAME
       install_keyboard_hooks  -  Installs custom keyboard hooks. Allegro game
       programming library.

SYNOPSIS
       #include <allegro.h>

       void install_keyboard_hooks(int (*keypressed)(), int (*readkey)());

DESCRIPTION
       You 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 key‐
       presses,	 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 ALSO
       install_keyboard(3), keypressed(3), readkey(3)

Allegro				 version 4.4.2	     install_keyboard_hooks(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net