From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro & shift keys Date: Fri, 28 Feb 1997 20:24:22 +0000 Organization: None Distribution: world Message-ID: References: <3315CEEB DOT 133F AT search DOT van DOT wa DOT us> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Christopher Bice writes: >Why is Allegro unable to independently detect whether the left or right >shift/alt/control keys are pressed down? Is there any other way to detect this? It should be able to detect the shift keys (check the values of key[KEY_LSHIFT] and key[KEY_RSHIFT]). The distinction between the right and left ctrl and alt isn't currently recognised, because they are a pain. Adding them is fairly low on my list of priorities right now, but if anyone wants to add them, that would be very welcome... /* * 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. */