[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sun, Dec 16, 2001 at 06:38:59PM +0100, Lo'oRiS il Kabukimono wrote:
> PS: sorry for saying this for the 3rd time, but "about install_keyboard"???
> that problem appeared (if i remember correctly) already 2 times in [AL]
> list, and i'd like to know *any* opinions about what to do with it...
Here's my proposition. Note that I don't think its a _real_ problem.
--
Grzegorz Adam Hankiewicz gradha@xxxxxxxxxx http://gradha.infierno.org/
Index: allegro._tx
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/src/allegro._tx,v
retrieving revision 1.12
diff -u -r1.12 allegro._tx
--- allegro._tx 2001/12/14 23:43:41 1.12
+++ allegro._tx 2001/12/16 21:45:45
@@ -1718,13 +1718,15 @@
@xref remove_keyboard, poll_keyboard, key, keypressed, readkey, ureadkey
@xref keyboard_callback, keyboard_ucallback, keyboard_lowlevel_callback
@xref three_finger_flag, key_led_flag, set_leds, set_keyboard_rate
-@domain.hid standard config variables
+@xref set_gfx_mode, standard config variables
Installs the Allegro keyboard interrupt handler. You must call this
before using any of the keyboard input routines. Once you have set up the
Allegro handler, you can no longer use operating system calls or C
library functions to access the keyboard. Returns zero on success, or a
negative number on failure (but you may decide not to check the return
- value as this function is very unlikely to fail).
+ value as this function is very unlikely to fail). Note that on some
+ platforms the keyboard won't work unless you have set a graphic mode,
+ even if this function returns zero before calling set_gfx_mode.
@@void @remove_keyboard();
@xref install_keyboard, allegro_exit