Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - keytime, keywait http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
KeyTime, KeyWait

Flushes the input buffers, waits for keyboard/mouse

Header File.....TCXLinp.h

Prototype.......KeyT CTYP KeyTime(IntT t);
                KeyT CTYP KeyWait(NOARG);

Source File.....EVT\KEYTIME.C

Arguments.......t  -  Timer Ticks to Wait Before Timing Out, or -1 to never
                      time out.

Returns.........KeyCode of the event, or -1 if timed out.

Notes...........KeyTime() will time out and return after the passed number
                of timer ticks.  KeyWait() will not return until an event
                occurs.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson