From: slanning AT buphy DOT bu DOT edu (Scott Lanning) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro keypressed() always returning False Date: 17 Dec 1998 13:02:05 GMT Organization: Boston Univ. Physics Lines: 11 Message-ID: <75avcd$9jd$1@news1.bu.edu> References: <3678fb52 DOT 0 AT mercury DOT nildram DOT co DOT uk> NNTP-Posting-Host: buphy.bu.edu X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Graeme Fenwick (gfenwick AT BYESPAMprimex DOT co DOT uk) wrote: :Allegro's keypressed() [...] seems to be returning false, regardless : int detect_key(void) { : if (!keypressed()); <--. : return NO_KEY; | | if(CODPIECE_IS_AFIRE); return NO_KEY; would do the same.