suse man page for keypressed

Query: keypressed

OS: suse

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

keypressed(3alleg4)                                               Allegro manual                                               keypressed(3alleg4)

NAME
keypressed - Tells if there are keypresses waiting in the input buffer. Allegro game programming library.
SYNOPSIS
#include <allegro.h> int keypressed();
DESCRIPTION
Returns TRUE if there are keypresses waiting in the input buffer. You can use this to see if the next call to readkey() is going to block or to simply wait for the user to press a key while you still update the screen possibly drawing some animation. Example: while (!keypressed()) { /* Show cool animated logo. */ } /* So he skipped our title screen. */
SEE ALSO
install_keyboard(3alleg4), readkey(3alleg4), ureadkey(3alleg4), clear_keybuf(3alleg4), simulate_keypress(3alleg4), simulate_ukey- press(3alleg4) Allegro version 4.4.2 keypressed(3alleg4)
Related Man Pages
exrotscl(3alleg4) - suse
exrotscl(3alleg4) - plan9
exrotscl(3alleg4) - redhat
exrotscl(3alleg4) - linux
exrotscl(3alleg4) - mojave
Similar Topics in the Unix Linux Community
Detecting a key combination
Carcode 3.0a1 (Default branch)
Does anybody know how to simulate press Fn+Scroll Lk in Linux c
Indentation help
How to slow down text output?