logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

clear_keybuf - Clears the keyboard buffer. Allegro game programming library.

Description

       Empties  the  keyboard  buffer. Usually you want to use this in your program before reading keys to avoid
       previously buffered keys to be returned by calls to readkey() or ureadkey().

Name

       clear_keybuf - Clears the keyboard buffer. Allegro game programming library.

See Also

install_keyboard(3alleg4), keypressed(3alleg4), readkey(3alleg4), ureadkey(3alleg4)

Allegro                                           version 4.4.3                            clear_keybuf(3alleg4)

Synopsis

#include<allegro.h>voidclear_keybuf();

See Also