www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/28/18:54:35

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
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: <kNVa0OA27zFzEwI8@talula.demon.co.uk>
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.
 */

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019