From: "Erik \"Tower\" Ytterberg" Newsgroups: comp.os.msdos.djgpp Subject: Allegro keys Date: Mon, 23 Aug 1999 13:16:16 +0200 Lines: 17 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 NNTP-Posting-Host: eyg98001.campus.mdh.se Message-ID: <37be8bb8@news.mdh.se> X-Trace: 21 Aug 1999 13:21:28 +0100, eyg98001.campus.mdh.se To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com We are having some trouble reading input from the keyboard. If you press more than one key the program ignores it. We have looked at the examples that comes with Allegro, and we canīt find anything that differs from our code. Whatīs the secret?? We are checking the keyboard several times during our main itterative loop, using the key[ THE_KEY] command. For example: if(key[KEY_CONTROL]) a=true; if(key[KEY_SPACE]) b=true;