Xref: utzoo comp.sys.ibm.pc.programmer:2576 comp.sys.ibm.pc:54678 Newsgroups: comp.sys.ibm.pc.programmer,comp.sys.ibm.pc Path: utzoo!utdoe!contact!rrwood From: rrwood@contact.uucp (roy wood) Subject: Turbo Pascal Keyboard Scanning Reply-To: rrwood@contact.uucp (roy wood) Organization: Contact Public Unix BBS. Toronto, Canada. Distribution: na Date: Thu, 21 Feb 91 00:33:44 GMT Message-ID: <1991Feb21.003344.13013@contact.uucp> Can anyone provide any insight into how I might scan the keyboard from within a Turbo Pascal program? I know there is a facility for testing whether there is a keystroke is waiting in the buffer, and a routine for reading whatever keystrokes are there; however, I'd like to be able to just look directly at whatever key has been struck, and get past that annoying auto-repeat delay. This is for use in an educational video game, so it's important to have immediate response to keyboard input. I'm sure that lots of people have done a similar thing, and I'd prefer not to have to reinvent the wheel. Can you help? I'd appreciate it. -Roy Wood (rrwood@contact.ca)