Mail Archives: djgpp/1995/12/19/22:20:42
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:3936
|
Newsgroups: | comp.os.msdos.djgpp
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!news.wwa.com!gail.ripco.com!hacker1
|
From: | hacker1 AT ripco DOT com (Isaac Kohn)
|
Subject: | HELP! How do I query/poll keyb?
|
Message-ID: | <DJsx5A.5B@rci.ripco.com>
|
Sender: | usenet AT rci DOT ripco DOT com (Net News Admin)
|
Organization: | Ripco BBS, Free Trial account (312) 665-0065
|
Date: | Mon, 18 Dec 1995 21:31:58 GMT
|
Lines: | 10
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Greetings and salutations to you, my friends of culture,
I am writing a small program in C that needs to be able to poll or query the
keyboard, and all I've found (getkey(), getxkey(), getchar(), etc.) wait for
a keypress when called. I once had a compiler that had a procedure ci()
that would return the last key in the keyboard buffer, or 0 if one hadn't
been pressed. I need something like this. Thx much,
Isaac K.
hacker1 AT rci DOT ripco DOT com
ivk AT hfnet DOT sinai DOT org
- Raw text -