Mail Archives: djgpp/1996/12/24/16:05:58
From: | "Thomas Harte" <T DOT Harte AT btinternet DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Reading the keyboard
|
Date: | 24 Dec 1996 20:00:19 GMT
|
Organization: | Dell Computer Corporation
|
Lines: | 9
|
Message-ID: | <01bbf1d3$f5c8ed80$a02649c2@default>
|
NNTP-Posting-Host: | host-73-38-160.btinternet.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Who knows the best way to read a keyboard on an IBM PC, under DJGPP for
use in a game situation - that is so that multiple key presses can be
detected? Currently the best I can do is reading the BIOS buffer, which is
useless as it does not allow for multiple key presses, and so my programs
lack the ability to, for example, run forward while turning left (as this
would mean 'up cursor' and 'left cursor' would need to be both detected at
once, which is not done by the buffer). Anyway, who can help me out?
-Thomas
- Raw text -