www.delorie.com/archives/browse.cgi | search |
Date: | Sun, 29 Mar 1998 14:34:26 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Marcus Cole <rufrak AT gbd DOT com> |
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: | <Pine.SUN.3.91.980329143315.15237a-100000@is> |
MIME-Version: | 1.0 |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |