Mail Archives: djgpp/1999/12/07/17:09:23
From: | trinitychaos AT my-deja DOT com
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | reading dual keyboard input
|
Date: | Tue, 07 Dec 1999 21:34:21 GMT
|
Organization: | Deja.com - Before you buy.
|
Lines: | 13
|
Message-ID: | <82jugt$tid$1@nnrp1.deja.com>
|
NNTP-Posting-Host: | 203.89.252.162
|
X-Article-Creation-Date: | Tue Dec 07 21:34:21 1999 GMT
|
X-Http-User-Agent: | Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
|
X-Http-Proxy: | 1.1 x21.deja.com:80 (Squid/1.1.22) for client 203.89.252.162
|
X-MyDeja-Info: | XMYDJUIDtrinitychaos
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
'kay, a problem I've had when using allegro for doing keyboard input.
I'm writing a game where two players can both access the keyboard at
once. I've got no problem doing this, if each player presses the keys
rapidly, they each get a go, more or less in order. The problem I've
found, though, is that if one of them holds down a key, their hold down
is remembered, but as soon as another key is pressed and released, the
held down key is ignored, and they have to release the key and hold it
down again. Why is this, and what can I do about it?
Sent via Deja.com http://www.deja.com/
Before you buy.
- Raw text -