Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!ncsuvx!news From: mnewnam@eos.ncsu.edu (MARK NEWNAM) Newsgroups: comp.lang.pascal Subject: Reading multiple keys in TP5.5 Message-ID: <1990Oct3.232145.18021@ncsuvx.ncsu.edu> Date: 3 Oct 90 23:21:45 GMT Sender: news@ncsuvx.ncsu.edu (USENET News System) Reply-To: mnewnam@eos.ncsu.edu (MARK NEWNAM) Organization: North Carolina State University Lines: 25 Keywords: I am writing a game using TP5.5 and need to be able to tell which keys were pressed if more than one key was pressed at the same time. Example 8: is jump 6: move left space: fire if a person is holding down the 6 key to move left and hits the 8 key to jump at the same time, then the keyboard buffer willl change from telling you that 6 is pressed and tell you that 8 is pressed. Now the problem is that as long as you continue to hold down the 6 key, it will continue to tell you that the 8 key is being pressed. Any ideas out there???? Mark Newnam