1vga_getkey(3)                 Svgalib User Manual                vga_getkey(3)
2
3
4

NAME

6       vga_getkey - read a character from the keyboard without waiting
7

SYNOPSIS

9       #include <vga.h>
10
11       int vga_getkey(void);
12
13

DESCRIPTION

15       Read  a character from the keyboard without waiting; returns zero if no
16       key pressed and the ASCII value otherwise. This function  must  not  be
17       used  in  raw keyboard mode. In this situation use keyboard_getstate(3)
18       or keyboard_keypressed(3) instead.
19
20

SEE ALSO

22       svgalib(7), vgagl(7), libvga.config(5), eventtest(6), keytest(6),  key‐
23       board_init(3),  keyboard_close(3),  keyboard_setdefaulteventhandler(3),
24       keyboard_seteventhandler(3),         keyboard_getstate(3),         key‐
25       board_clearstate(3), keyboard_translatekeys(3), keyboard_keypressed(3),
26       vga_getch(3), vga_waitevent(3),
27

AUTHOR

29       This manual page was edited  by  Michael  Weller  <eowmob@exp-math.uni-
30       essen.de>.  The  exact  source of the referenced function as well as of
31       the original documentation is unknown.
32
33       It is very likely that both are at least to some extent are due to Harm
34       Hanemaayer <H.Hanemaayer@inter.nl.net>.
35
36       Occasionally  this  might be wrong. I hereby asked to be excused by the
37       original author and will happily accept any additions or corrections to
38       this first version of the svgalib manual.
39
40
41
42Svgalib (>= 1.2.11)              27 July 1997                    vga_getkey(3)
Impressum