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

NAME

6       keyboard_update, keyboard_waitforupdate - process raw keyboard events
7

SYNOPSIS

9       #include <vgakeyboard.h>
10
11       int keyboard_update(void);
12       void keyboard_waitforupdate(void);
13
14

DESCRIPTION

16       These  routines  check  the keyboard buffer for any raw keyboard events
17       and  do  the  necessary  updates  to  the  internal  buffers  of   key‐
18       board_clearstate(3) and keyboard_keypressed(3).
19
20       When  there are no such events, keyboard_update() returns 0 immediately
21       (non-zero else) whereas keyboard_waitforupdate() blocks and waits until
22       an event occurs.
23
24       vga_waitevent(3)  allows  to  wait for keyboard and other events at the
25       same time.
26
27

SEE ALSO

29       svgalib(7), vgagl(7), libvga.config(5), keytest(6), eventtest(6),  key‐
30       board_seteventhandler(3), keyboard_init(3), keyboard_init_return_fd(3),
31       keyboard_close(3),  keyboard_setdefaulteventhandler(3),   keyboard_get‐
32       state(3),   keyboard_clearstate(3),   keyboard_translatekeys(3),   key‐
33       board_keypressed(3), vga_waitevent(3)
34
35

AUTHOR

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