Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages
Started by roy wood
Thu, 21 Feb 1991 00:33
Turbo Pascal Keyboard Scanning
Author: roy wood
Date: Thu, 21 Feb 1991 00:33
Date: Thu, 21 Feb 1991 00:33
13 lines
1058 bytes
1058 bytes
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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads