Date: Sun, 29 Mar 1998 14:34:26 +0300 (IDT) From: Eli Zaretskii To: Marcus Cole cc: djgpp AT delorie DOT com Subject: Re: How do I read the keyboard? In-Reply-To: <6fjfao$g674@abbott.tor.sfl.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 28 Mar 1998, Marcus Cole wrote: > Is there any way I can read the keyboard (which key is pressed) in DJGPP > without writing my own keyboard handler? I've tried kbhit and bioskey, but > I can't get them to tell me WHICH key is pressed, only if A key is being > pressed. Read the library docs for the follwoing functions: getkey getch getxkey One of these should do.