1clear_keybuf(3) Allegro manual clear_keybuf(3)
2
3
4
6 clear_keybuf - Clears the keyboard buffer. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 void clear_keybuf();
14
16 Empties the keyboard buffer. Usually you want to use this in your pro‐
17 gram before reading keys to avoid previously buffered keys to be
18 returned by calls to readkey() or ureadkey().
19
20
22 install_keyboard(3), keypressed(3), readkey(3), ureadkey(3)
23
24
25
26Allegro version 4.2.2 clear_keybuf(3)