


install_keyboard_hooks(3) Allegro manualinstall_keyboard_hooks(3)


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

SSYYNNOOPPSSIISS
       ##iinncclluuddee <<aalllleeggrroo..hh>>


       vvooiidd iinnssttaallll__kkeeyybbooaarrdd__hhooookkss((iinntt ((**kkeeyypprreesssseedd))(()),, iinntt ((**rreeaaddkkeeyy))(())));;

DDEESSCCRRIIPPTTIIOONN
       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.


SSEEEE AALLSSOO
       iinnssttaallll__kkeeyybbooaarrdd(3), kkeeyypprreesssseedd(3), rreeaaddkkeeyy(3)


































Allegro                   version 4.2.3                         1


