www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/01/01:19:44

From: gautam AT interlog DOT com (Gautam N. Lad)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Checking and retrieving keypresses in Allegro
Date: Sun, 31 Aug 97 20:39:07 GMT
Organization: InterLog Internet Services
Lines: 28
Message-ID: <5uckhi$265$1@news.interlog.com>
References: <5u79gn$m3k$1 AT news DOT interlog DOT com> <uu9o$AAL+LC0EwON AT talula DOT demon DOT co DOT uk>
NNTP-Posting-Host: ip203-78.cc.interlog.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
   Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk> wrote:
>Gautam N. Lad writes:
>>So, now, how can I find out if a key is being pressed, just anywhere.
>>Whenever a key is pressed, I want to find out what that key is.
>
>After installing the Allegro keyboard handler, call the readkey()
>function, or check the flags in the key[] array. See ex5.c...
Doh.
Get this.  For the past while, I ask a question about something, and then later on, 
I somehow figure it out.  Before I got your response, I stumbled upon 
readkey(), and I gave myself a big smack on the head! ;)

Sorry for bothering anyone!
Well, thanks anyways!
Bye!

****************************************************
* Gautam N. Lad                                    *
*--------------------------------------------------*
*                                                  *
* E-Mail    : gautam AT interlog DOT com                  *
* Website   : http://www.interlog.com/~gautam      *
*                                                  *
* OS/2, DOS/Windows, Graphics Gallery, Software,   *
* Links, Rayzor Editor/2, POV-Ray, TexturEyes,     *
* POV-PAK and lots lots lots more!!!!!!!           *
****************************************************

- Raw text -


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