From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro BUG with LSHIFT Date: Sun, 2 Mar 1997 11:24:07 +0000 Organization: None Distribution: world Message-ID: References: <5f8esq$ats AT freenet-news DOT carleton DOT ca> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 32 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Paul Derbyshire writes: >I have found a bug in Allegro with the key[KEY_LSHIFT]. Regardless of the >state of this key, key[KEY_LSHIFT] is always indicating a keypress! The >RSHIFT works as expected though. Really? They work ok for me... What happens when you run this test prog? #include #include void main() { allegro_init(); install_keyboard(); while (!key[KEY_ESC]) { printf("left: %s, right: %s \r", key[KEY_LSHIFT] ? "yes" : "no", key[KEY_RSHIFT] ? "yes" : "no"); fflush(stdout); } clear_keybuf(); } /* * Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ * Beauty is a French phonetic corruption of a short cloth neck ornament. */